update README
[git-darcs-import.git] / GNUmakefile.patch
blob4f29cbebe4429d1d2546472e747e6f526c30ef96
1 diff --git a/GNUmakefile b/GNUmakefile
2 index 9c240bf..5a7750c 100644
3 --- a/GNUmakefile
4 +++ b/GNUmakefile
5 @@ -36,6 +36,7 @@ SRC_DIRS:=. ./src ./src/Crypt\
6 ./src/win32\
7 ./src/win32/System\
8 ./src/win32/System/Posix\
9 + ./src/Git\
11 MODULES_AUTOCONF :=\
12 Autoconf.lhs \
13 @@ -280,6 +281,8 @@ microbench: src/microbench.hs $(C_OBJS) $(DARCS_OBJS)
14 make_changelog: src/make_changelog.hs $(C_OBJS) $(DARCS_OBJS)
15 unit: src/unit.lhs $(UNIT_OBJS) $(C_OBJS)
16 preproc: src/preproc.hs $(C_OBJS) $(DARCS_OBJS)
17 +git-darcs-import: src/git-darcs-import.hs $(C_OBJS) $(DARCS_FILES) src/Git/*.hs
18 + $(GHC) -o $@ $(GHCFLAGS) --make $< $(OPTLLIBS) $(C_OBJS) -optl-s
20 TEXSOURCES := preproc src/darcs.lhs src/features.tex \
21 src/switching.tex src/configuring_darcs.tex src/gpl.tex \
22 @@ -462,6 +465,7 @@ clean:
23 #only remove src/Context.hs if we have a darcs inventory to rebuild it from
24 if test -f _darcs/inventory; then rm -f src/Context.hs; fi
25 rm -f TAGS tags
26 + rm -f git-darcs-import
28 distclean: clean
29 rm -rf config.status config.log autoconf.mk config.cache autom4te.cache