-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.in
52 lines (40 loc) · 1.09 KB
/
Makefile.in
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
48
49
50
51
# 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: