1 ## -*- Makefile -*- mode
2 ## Process this file with automake to create Makefile.in
4 ## Make sure we have a current version of automake
30 vms/vms_shareables.opt
32 ## ---------------------------------------------------------------------------
33 ## Manage bzip2 archive together with gzip archive
35 # make dist2 # instead of make dist
36 # make distcheck2 # instead of make distcheck
37 # make distclean2 # instead of make distclean
39 DISTCHECK_CONFIGURE_FLAGS = --enable-htmldoc
42 gzip -dc $(distdir).tar.gz | bzip2 -9 >$(distdir).tar.bz2
44 distcheck2: distcheck dist2
45 @banner="$(distdir).tar.bz2 - ready for distribution"; \
46 dashes=`echo "$$banner" | sed s/./=/g`; \
49 @if test "x$(ISRELEASED)" != xyes; then \
50 echo 'Warning: ISRELEASED is not set to "yes".'; \
51 echo ' So these can not be the official tarballs.'; \
56 ## ---------------------------------------------------------------------------
57 ## Produce an rpm package using dist or from the given tarball
58 ## (requires rpmbuild in your system)
61 # make release=1 rpm-dist
63 # make version=2.3.22 release=2 rpm-this
64 # make rpm-dist cparams='--enable-multibyte --quiet' mparams='CFLAGS="-O2 -g"'
66 # automatical regeneration is missing for other dirs, so do it explicitly
68 (cd rpm && $(MAKE) $(AM_MAKEFLAGS) Makefile *.spec) || exit 1
70 rpm-dist: dist rpm-this
72 rpm-this: rpm-regenerate
73 (cd rpm && $(MAKE) $(AM_MAKEFLAGS) this) || exit 1
75 ## -----------------------------------------------------------------
76 ## Produce a deb package using dist or from the given tarball
77 ## (requires fakeroot, dpkg and debhelper in your system)
80 # make release=1 deb-dist
82 # make version=2.3.22 release=2 deb-this
83 # make deb-dist cparams='--enable-gnome --quiet' mparams='CFLAGS="-O2 -g"'
84 # make deb-inplace release=1.mg fullname=migo # works on sources directly
87 (cd debian && $(MAKE) $(AM_MAKEFLAGS) Makefile control) || exit 1
89 deb-dist: dist deb-this
91 deb-this: deb-regenerate
92 $(MAKE) -f debian/Makefile $(AM_MAKEFLAGS) this || exit 1
94 deb-inplace: deb-regenerate
95 $(MAKE) -f debian/Makefile $(AM_MAKEFLAGS) inplace || exit 1