1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
include Version
PROGVER = hlins-$(VERSION)
dummy: all
configure:
(cd source; ./configure)
# if configured with "make configure":
all:
(cd source; make)
install:
(cd source; make install)
(cd doc; make install)
# for ocaml bytecode compilation
all.bc:
(cd source; make hlins.bc)
install.bc:
(cd source; make install.bc)
(cd doc; make install)
distrib:
(cd doc/examples/hlins-documentation; make)
make tarball
# cleanup and building tarball
tarball: distclean
mkdir $(PROGVER)
cp -r source doc Makefile Version $(PROGVER)
-rm $(PROGVER)/*~ $(PROGVER)/*/*~ $(PROGVER)/*/*/*~
tar --exclude="CVS" --exclude=".cvsignore"\
-cvf $(PROGVER).tar $(PROGVER)
gzip -f $(PROGVER).tar
rm -r $(PROGVER)
clean:
(cd source; make clean)
(cd doc; make clean)
distclean:
(cd source; make distclean)
(cd doc; make distclean)
-rm -r $(PROGVER)
|