diff options
author | Thien-Thi Nguyen <ttn@glug.org> | 2000-02-12 02:21:22 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@glug.org> | 2000-02-12 02:21:22 +0000 |
commit | ad673e14e52a4617ba70c4c30edee1057728aed4 (patch) | |
tree | d5fd8e36fe9c7ac67ab3199993b32d24ec4b57a6 /Makefile.in | |
parent | 520f730aef8ff966b420a98569c1d6e4bdb97532 (diff) | |
download | swig-ad673e14e52a4617ba70c4c30edee1057728aed4.tar.gz |
VERSION, Source/Include/swigver.h.in: New files.
Source/Include/swigver.h: Deleted from repo, now generated by
configure from swigver.h.in same directory.
configure.in: Source ./VERSION to get var definitions.
(PACKAGE, VERSION, SWIG_VERSION, SWIG_SPIN): New vars, @-substituted.
Also do `AC_OUTPUT' on Source/Include/swigver.h.
Makefile.in (dd): New var, the distribution directory.
(dist, dist-suggested): New targets.
Source/SWIG1.1/emit.cxx (emit_banner): Use `SWIG_VERSION' instead
of integers `SWIG_VERSION_MAJOR' and `SWIG_VERSION_MINOR' (which are
deleted).
Source/SWIG1.1/main.cxx (SWIG_main): Likewise.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 64b0e40fa..174d74239 100644 --- a/Makefile.in +++ b/Makefile.in @@ -56,7 +56,7 @@ Modules1.1: Swig: @cd $(SOURCE)/Swig; $(MAKE) -Preprocessor: +Preprocessor: @cd $(SOURCE)/Preprocessor; $(MAKE) LParse: @@ -95,7 +95,7 @@ clean: @cd Runtime; $(MAKE) clean rm -f swig - + ##################################################################### # TARGETS: install & friends ##################################################################### @@ -173,3 +173,24 @@ install-lib: install-runtime: @cd Runtime; $(MAKE) install + +############################################################################ +# DIST and other maintenance +############################################################################ + +# distribution directory +dd = @PACKAGE@-@VERSION@ + +dist: + @echo 'Dave, what do you want to do w/ "make dist"?' + @echo 'See Makefile.in target "dist-suggested" for an idea.' + @echo ' --thi' + false + +dist-suggested: + rm -rf $(dd) $(dd).tar.gz + cvs export -d $(dd) -r HEAD SWIG + tar cf - $(dd) | gzip --best > $(dd).tar.gz + rm -rf $(dd) + +# Makefile ends here |