Set default PDF format to 1.4.
[grace.git] / Makefile
blob2358eeed6764c4a64d61b14ad0c69e8e90cdc199
1 #####################################################
2 # Top-level Makefile for Grace #
3 #####################################################
4 # You should not change anything here. #
5 #####################################################
7 include Make.conf
9 subdirs : configure Make.conf
10 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE)) || exit 1; done
12 all : subdirs
14 install : subdirs
15 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) install) || exit 1; done
16 $(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)
17 @if test -f $(DESTDIR)$(GRACE_HOME)/gracerc; then \
18 echo " $(DESTDIR)$(GRACE_HOME)/gracerc exists"; \
19 echo " Installing only $(DESTDIR)$(GRACE_HOME)/gracerc.sample"; \
20 $(INSTALL_DATA) gracerc $(DESTDIR)$(GRACE_HOME)/gracerc.sample; \
21 else \
22 $(INSTALL_DATA) gracerc $(DESTDIR)$(GRACE_HOME); \
24 $(INSTALL_DATA) gracerc.user $(DESTDIR)$(GRACE_HOME)
26 tests : subdirs
27 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) tests) || exit 1; done
29 check : tests
31 links : subdirs
32 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) links) || exit 1; done
34 clean :
35 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) clean) || exit 1; done
37 distclean : clean
38 $(RM) config.log config.status config.cache include/config.h Make.conf
39 $(RM) -r autom4te.cache
41 devclean : distclean
42 $(RM) configure
44 texts : NEWS ChangeLog
46 NEWS : doc/NEWS.html
47 @lynx -dump $? > $@
49 ChangeLog : dummy
50 ./scripts/cvs2cl.pl -F trunk
52 Make.conf : ac-tools/Make.conf.in configure
53 @echo
54 @echo 'Please re-run ./configure'
55 @echo
56 @exit 1
58 configure : ac-tools/configure.in ac-tools/aclocal.m4
59 autoconf ac-tools/configure.in > configure
60 chmod +x configure
62 dummy :