From: Thibault Godouet Date: Mon, 1 Mar 2010 09:11:16 +0000 (+0000) Subject: Updated Makefile to ignore git files when tarring up -- also don't ci on make tar... X-Git-Tag: ver3_0_5~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7789a012f4aadc29e023bc57a5bd36dc4dc9742f;p=thirdparty%2Ffcron.git Updated Makefile to ignore git files when tarring up -- also don't ci on make tar anymore --- diff --git a/Makefile.in b/Makefile.in index b9654b2..bba9b53 100644 --- a/Makefile.in +++ b/Makefile.in @@ -82,7 +82,7 @@ HEADERSALL := config.h $(SRCDIR)/global.h $(SRCDIR)/log.h $(SRCDIR)/subs.h $(SRC # this is a regular expression : # do not ci automaticaly generated files and doc (done by doc's Makefile) -RCSNOCI:=.*\(.html\|VERSION\|MANIFEST\|configure\|install.sh\|config.log\|config.status\|config.h\|config.cache\|Makefile\|doc.*\|CVS.*\) +RCSNOCI:=.*\(.html\|VERSION\|MANIFEST\|configure\|install.sh\|config.log\|config.status\|config.h\|config.cache\|Makefile\|doc.*\|CVS.*\|.git.*\) RUN_NON_PRIVILEGED := @RUN_NON_PRIVILEGED@ ifeq ($(RUN_NON_PRIVILEGED), 1) @@ -282,13 +282,13 @@ ci: ciclean # ci the doc files make -C doc ci -tar: configure updatedoc vclean ci +tar: configure updatedoc vclean ciclean echo $(VERSION) > ./VERSION make -C doc tarclean - @(find ./ -type f ! -regex '.*RCS.*' ! -regex '.*CVS.*' | \ + @(find ./ -type f ! -regex '.*RCS.*' ! -regex '.*CVS.*' ! -regex '.*\.git.*'| \ sed -e "s:^\./:fcron-$(VERSION)/:" > MANIFEST) @(cd ..; ln -s fcron fcron-$(VERSION)) (cd ..; tar -czvf fcron-$(VERSION).src.tar.gz `cat fcron/MANIFEST`)