1 ## -*- Makefile -*- mode
2 ## Process this file with automake to create Makefile.in
4 ## Make sure we have a current version of automake
29 vms/vms_shareables.opt
31 ## ---------------------------------------------------------------------------
32 ## Manage bzip2 archive together with gzip archive
34 # make dist2 # instead of make dist
35 # make distcheck2 # instead of make distcheck
36 # make distclean2 # instead of make distclean
39 gzip -dc $(distdir).tar.gz | bzip2 -9 >$(distdir).tar.bz2
41 distcheck2: distcheck dist2
42 @banner="$(distdir).tar.bz2 - ready for distribution"; \
43 dashes=`echo "$$banner" | sed s/./=/g`; \
46 @if test "x$(ISRELEASED)" != xyes; then \
47 echo 'Warning: ISRELEASED is not set to "yes".'; \
48 echo ' So these can not be the official tarballs.'; \
53 ## ---------------------------------------------------------------------------
54 ## Produce an rpm package using dist or from the given tarball
55 ## (requires rpmbuild in your system)
58 # make release=1 rpm-dist
60 # make version=2.3.22 release=2 rpm-this
61 # make rpm-dist cparams='--enable-multibyte --quiet' mparams='CFLAGS="-O2 -g"'
63 # automatical regeneration is missing for other dirs, so do it explicitly
65 (cd rpm && $(MAKE) $(AM_MAKEFLAGS) Makefile *.spec) || exit 1
67 rpm-dist: dist rpm-this
69 rpm-this: rpm-regenerate
70 (cd rpm && $(MAKE) $(AM_MAKEFLAGS) this) || exit 1
72 ## -----------------------------------------------------------------
73 ## Produce a deb package using dist or from the given tarball
74 ## (requires fakeroot, dpkg and debhelper in your system)
77 # make release=1 deb-dist
79 # make version=2.3.22 release=2 deb-this
80 # make deb-dist cparams='--enable-gnome --quiet' mparams='CFLAGS="-O2 -g"'
81 # make deb-inplace release=1.mg fullname=migo # works on sources directly
84 (cd debian && $(MAKE) $(AM_MAKEFLAGS) Makefile control) || exit 1
86 deb-dist: dist deb-this
88 deb-this: deb-regenerate
89 $(MAKE) -f debian/Makefile $(AM_MAKEFLAGS) this || exit 1
91 deb-inplace: deb-regenerate
92 $(MAKE) -f debian/Makefile $(AM_MAKEFLAGS) inplace || exit 1