source: git/Makefile.in @ fd4bde

spielwiese
Last change on this file since fd4bde was fd4bde, checked in by Olaf Bachmann <obachman@…>, 27 years ago
* added target dist git-svn-id: file:///usr/local/Singular/svn/trunk@271 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.5 KB
Line 
1SHELL           = /bin/sh
2
3PRODUCT         = Singular
4VERSION         = 1.0
5
6DISTNAME        = ${PRODUCT}-full-${VERSION}
7
8@SET_MAKE@
9BUILD_SUBDIRS   = @CONFIG_SUBDIRS@
10SUBDIRS         = @SUBDIRS@
11
12TEMPDIR         = /tmp
13
14
15all install uninstall info dvi : Makefile
16        for SUBDIR in ${BUILD_SUBDIRS}; \
17        do \
18                echo ${MAKE} $@ in $${SUBDIR}; \
19                cd $${SUBDIR}; \
20                ${MAKE} $@; \
21                cd .. ;\
22        done
23
24clean distclean mostlyclean maintainer-clean:
25        for SUBDIR in ${SUBDIRS}; \
26        do \
27                echo ${MAKE} $@ in $${SUBDIR}; \
28                cd $${SUBDIR}; \
29                ${MAKE} $@; \
30                cd .. ;\
31        done;\
32        rm -rf *~ a.out core *.o .log lib bin share include; \
33        if test "$@" = distclean || test "$@" = maintainer-clean; then \
34          rm -f config.cache config.log config.status TAGS* *.gz *.tar; \
35        fi; \
36        if test "$@" = maintainer-clean; then \
37          echo "This command is inteneded for maintainer use, only" ; \
38          echo "Rebuilding the deleteed file(s) requires at least autoconf"; \
39          rm -f configure ;\
40        fi
41
42dist:
43        rm -rf ${DISTNAME}.tar* ${TEMPDIR}/${DISTNAME}*
44        mkdir ${TEMPDIR}/${DISTNAME}
45        cp -pR . ${TEMPDIR}/${DISTNAME}
46        cd ${TEMPDIR}/${DISTNAME}; ${MAKE} distclean;
47        - find ${TEMPDIR}/${DISTNAME} -name CVS -exec rm -rf {} \;
48        cd ${TEMPDIR}; tar cf ${DISTNAME}.tar ${DISTNAME}
49        rm -rf ${TEMPDIR}/${DISTNAME}
50        gzip -9 ${TEMPDIR}/${DISTNAME}.tar
51        - mv ${TEMPDIR}/${DISTNAME}.tar.gz .
52
53Makefile : Makefile.in config.status
54        ./config.status
55
56config.status : configure
57        ./config.status --recheck
58
59configure: configure.in
60        echo "You need to rerun autoconf. I am proceeding, for now."
61        touch configure
62#       autoconf
63#
Note: See TracBrowser for help on using the repository browser.