# pandora autoconf file. # Cengiz Gunay 2007-08-08 SHELL = /bin/sh .SUFFIXES: .SUFFIXES: .c TARNAME = @PACKAGE_TARNAME@ VERSION = @PACKAGE_VERSION@ DIRNAME = $(TARNAME)-$(VERSION) DOCDIR = $(DIRNAME)-htmldoc PLOTPKGNAME = cgmplot PLOTDIRNAME = $(PLOTPKGNAME)-$(VERSION) all: dist: mkdir $(DIRNAME) cp -a classes $(DIRNAME)/pandora cp -a functions/* $(DIRNAME)/pandora mkdir $(DIRNAME)/doc cp -a doc/prog-manual.pdf $(DIRNAME)/doc cp README.dist $(DIRNAME)/README cp COPYING CHANGES CREDITS $(DIRNAME) tar -cz --exclude .svn --exclude '*~' -f $(DIRNAME).tar.gz $(DIRNAME) rm -rf $(DIRNAME) distdochtml: doc/html mkdir $(DOCDIR) cp -a doc/html/* $(DOCDIR) tar -czf $(DOCDIR).tar.gz $(DOCDIR) rm -rf $(DOCDIR) distclean: rm -f *~ rm -rf $(DIRNAME) rm -rf $(DOCDIR) distplots: mkdir $(PLOTDIRNAME) cp README.cgmplot.dist $(PLOTDIRNAME)/README cp COPYING $(PLOTDIRNAME) mkdir $(PLOTDIRNAME)/$(PLOTPKGNAME) cp -a classes/\@plot_* functions/* $(PLOTDIRNAME)/$(PLOTPKGNAME)/ tar -cz --exclude .svn --exclude '*~' -f $(PLOTDIRNAME).tar.gz $(PLOTDIRNAME) rm -rf $(PLOTDIRNAME) clean: