* FvwmScript/FvwmScript.1.in (following): Clarify description of
[fvwm.git] / Makefile.am
blobb69e161564614cdb59bc6ec9810735011d88f463
1 ## -*- Makefile -*- mode
2 ## Process this file with automake to create Makefile.in
4 ## Make sure we have a current version of automake
5 AUTOMAKE_OPTIONS = 1.4
7 SUBDIRS = \
8         libs \
9         fvwm \
10         modules \
11         bin \
12         utils \
13         $(FVWM_PERLLIB) \
14         docs \
15         rpm \
16         debian \
17         sample.fvwmrc \
18         $(POSUB) \
19         tests
21 EXTRA_DIST = \
22         INSTALL.fvwm \
23         vms/README \
24         vms/config.h \
25         vms/fvwmrc.dat \
26         vms/make_fvwm.mms \
27         vms/vms.c \
28         vms/vms.h \
29         vms/vms_shareables.opt
31 ## ---------------------------------------------------------------------------
32 ## Manage bzip2 archive together with gzip archive
33 #  Usage:
34 #    make dist2       # instead of make dist
35 #    make distcheck2  # instead of make distcheck
36 #    make distclean2  # instead of make distclean
38 dist2: dist
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`; \
44         echo "$$banner"; \
45         echo "$$dashes"
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.'; \
49         fi
51 distclean2: distclean
53 ## ---------------------------------------------------------------------------
54 ## Produce an rpm package using dist or from the given tarball
55 ## (requires rpmbuild in your system)
56 #  Usage:
57 #    make rpm-dist
58 #    make release=1 rpm-dist
59 #    make rpm-this
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
64 rpm-regenerate:
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)
75 #  Usage:
76 #    make deb-dist
77 #    make release=1 deb-dist
78 #    make deb-this
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
83 deb-regenerate:
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