X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=a800300f1853e7c34e08475dae8ed595b046afc0;hb=HEAD;hp=644a474ad5ef49eb0f1f22e89065222c3991c826;hpb=6855525e48fad5de270500a5445c4f4ff85d8bda;p=diogenes.git diff --git a/Makefile b/Makefile index 644a474..a800300 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,18 @@ # definitions -VERSION = 0.9.18 +VERSION = 0.9.22 PKG_DIST = diogenes-$(VERSION) LIB_DIST = libdiogenes-$(VERSION) PKG_FILES = AUTHORS ChangeLog COPYING README Makefile \ - cvs.pl style.css + cvs.pl Doxyfile.in -PKG_DIRS = config htdocs include locale po plugins templates +PKG_DIRS = config htdocs include locale po plugins scripts styles templates LIB_FILES = COPYING LIB_BASE = include/diogenes -VCS_FILTER = ! -name .arch-ids ! -name CVS +VCS_FILTER = \( -name .arch-ids -o -name CVS -o -name .svn \) -prune # global targets @@ -33,16 +33,16 @@ clean: # diogenes package targets -pkg-build: include/diogenes.globals.inc.php +pkg-build: include/diogenes.globals.inc.php Doxyfile make -C po pkg-dist: pkg-build rm -rf $(PKG_DIST) $(PKG_DIST).tar.gz mkdir $(PKG_DIST) cp -a $(PKG_FILES) $(PKG_DIST) - for dir in `find $(PKG_DIRS) -type d $(VCS_FILTER)`; \ + for dir in `find $(PKG_DIRS) $(VCS_FILTER) -o -type d -print`; \ do \ - mkdir -p $(PKG_DIST)/$$dir; \ + mkdir -p $(PKG_DIST)/$$dir; \ find $$dir -maxdepth 1 -type f -exec cp {} $(PKG_DIST)/$$dir \; ; \ done tar czf $(PKG_DIST).tar.gz $(PKG_DIST) @@ -57,7 +57,7 @@ lib-dist: lib-build rm -rf $(LIB_DIST) mkdir $(LIB_DIST) cp -a $(LIB_FILES) $(LIB_DIST) - for dir in `cd $(LIB_BASE) && find -type d $(VCS_FILTER)`; \ + for dir in `cd $(LIB_BASE) && find . $(VCS_FILTER) -o -type d -print`; \ do \ mkdir -p $(LIB_DIST)/$$dir; \ find $(LIB_BASE)/$$dir -maxdepth 1 -type f -exec cp {} $(LIB_DIST)/$$dir \; ; \