]> matita.cs.unibo.it Git - helm.git/commitdiff
added EXTRA_DIST and docs
authorStefano Zacchiroli <zack@upsilon.cc>
Fri, 21 Mar 2003 18:05:35 +0000 (18:05 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Fri, 21 Mar 2003 18:05:35 +0000 (18:05 +0000)
helm/http_getter/Makefile

index 6584bda68bc90559ba15a9fc0a2ca643197db200..573c48d141bc0e60874aa60f726b992a804f1a08 100644 (file)
@@ -1,6 +1,12 @@
 VERSION = 0.2.1
 NAME = http_getter
+
 DISTDIR = http-getter-$(VERSION)
+EXTRA_DIST = AUTHORS COPYING NEWS README BUGS
+       # docs relative to "doc/" dir
+DOCS = \
+       http_getter.conf.xml.sample
+
 REQUIRES = http dbm pcre netclient pxp shell threads zip
 COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o
 OCAMLFIND = ocamlfind
@@ -60,6 +66,8 @@ clean:
 dist: distclean depend
        if [ -d $(DISTDIR) ]; then rm -rf $(DISTDIR); else true; fi
        mkdir $(DISTDIR)/
+       mkdir $(DISTDIR)/doc
+       cp $(DOCS) $(DISTDIR)/doc/
        for m in $(patsubst %, %.mli, $(MODULES)); do   \
                if [ "$$m" != "http_getter_types.mli" ]; then   \
                        cp $$m $(DISTDIR)/;     \
@@ -70,6 +78,7 @@ dist: distclean depend
                $(NAME).ml      \
                Makefile Makefile.overrides .depend     \
                $(DISTDIR)/
+       cp $(EXTRA_DIST) $(DISTDIR)/
        tar cvzf $(DISTDIR).tar.gz $(DISTDIR)/
        rm -rf $(DISTDIR)/
 distcheck: dist