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
40 gzip -dc $(distdir).tar.gz | bzip2 -9 >$(distdir).tar.bz2
42 distcheck2: distcheck dist2
43 @banner="$(distdir).tar.bz2 - ready for distribution"; \
44 dashes=`echo "$$banner" | sed s/./=/g`; \
47 @if test "x$(ISRELEASED)" != xyes; then \
48 echo 'Warning: ISRELEASED is not set to "yes".'; \
49 echo ' So these can not be the official tarballs.'; \
54 ## ---------------------------------------------------------------------------
55 ## Produce an rpm package using dist or from the given tarball
56 ## (requires rpmbuild in your system)
59 # make release=1 rpm-dist
61 # make version=2.3.22 release=2 rpm-this
62 # make rpm-dist cparams='--enable-multibyte --quiet' mparams='CFLAGS="-O2 -g"'
64 # automatical regeneration is missing for other dirs, so do it explicitly
66 (cd rpm && $(MAKE) $(AM_MAKEFLAGS) Makefile *.spec) || exit 1
68 rpm-dist: dist rpm-this
70 rpm-this: rpm-regenerate
71 (cd rpm && $(MAKE) $(AM_MAKEFLAGS) this) || exit 1
73 ## -----------------------------------------------------------------
74 ## Produce a deb package using dist or from the given tarball
75 ## (requires fakeroot, dpkg and debhelper in your system)
78 # make release=1 deb-dist
80 # make version=2.3.22 release=2 deb-this
81 # make deb-dist cparams='--enable-gnome --quiet' mparams='CFLAGS="-O2 -g"'
82 # make deb-inplace release=1.mg fullname=migo # works on sources directly
85 (cd debian && $(MAKE) $(AM_MAKEFLAGS) Makefile control) || exit 1
87 deb-dist: dist deb-this
89 deb-this: deb-regenerate
90 $(MAKE) -f debian/Makefile $(AM_MAKEFLAGS) this || exit 1
92 deb-inplace: deb-regenerate
93 $(MAKE) -f debian/Makefile $(AM_MAKEFLAGS) inplace || exit 1