Use !UsePPosition over NoPPosition when negating style lines.
[fvwm.git] / bin / Makefile.am
blob748ca2756e19573fa4b4610b859f53db8985376f
1 ## Process this file with automake to create Makefile.in
3 bin_PROGRAMS = fvwm-root
5 fvwm_root_SOURCE= fvwm-root.c
6 fvwm_root_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
8 bin_SCRIPTS = \
9         fvwm-config fvwm-bug fvwm-perllib \
10         fvwm-convert-2.4 fvwm-convert-2.6 \
11         fvwm-menu-xlock fvwm-menu-directory \
12         fvwm-menu-desktop fvwm-menu-headlines
14 man_MANS = \
15         fvwm-root.1 fvwm-config.1 fvwm-bug.1 fvwm-perllib.1 \
16         fvwm-convert-2.4.1 fvwm-convert-2.6.1 \
17         fvwm-menu-xlock.1 fvwm-menu-directory.1 \
18         fvwm-menu-desktop.1 fvwm-menu-headlines.1
19 EXTRA_DIST = fvwm-convert-2.2 fvwm-convert-2.2.1 $(man_MANS)
21 LDADD = -L$(top_builddir)/libs $(X_LIBS) -lfvwm $(xpm_LIBS) $(Xcursor_LIBS) \
22         $(X_PRE_LIBS) -lXext -lX11 -lm $(X_EXTRA_LIBS) $(Xrender_LIBS) \
23         $(Xcursor_LIBS) $(png_LIBS) $(rsvg_LIBS)
24 INCLUDES = -I$(top_srcdir) $(xpm_CFLAGS) $(X_CFLAGS) $(png_CFLAGS) \
25         $(rsvg_CFLAGS)
28 ## The long generation for *.1 is to make both pod2man and 'make -j' happy.
30 _fvwm-menu-xlock.1: fvwm-menu-xlock
31         @TMP=tmp-$$$$ NAME=fvwm-menu-xlock && (\
32         mkdir $$TMP && \
33         cp $$NAME.in $$TMP/$$NAME && \
34         pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
35                 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
36         mv $$TMP/$$NAME.1 .; \
37         rm -rf $$TMP)
39 _fvwm-menu-directory.1: fvwm-menu-directory
40         @TMP=tmp-$$$$ NAME=fvwm-menu-directory && (\
41         mkdir $$TMP && \
42         cp $$NAME.in $$TMP/$$NAME && \
43         pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
44                 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
45         mv $$TMP/$$NAME.1 .; \
46         rm -rf $$TMP)
48 _fvwm-menu-headlines.1: fvwm-menu-headlines
49         @TMP=tmp-$$$$ NAME=fvwm-menu-headlines && (\
50         mkdir $$TMP && \
51         cp $$NAME.in $$TMP/$$NAME && \
52         pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
53                 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
54         mv $$TMP/$$NAME.1 .; \
55         rm -rf $$TMP)
57 _fvwm-perllib.1: fvwm-perllib
58         @TMP=tmp-$$$$ NAME=fvwm-perllib && (\
59         mkdir $$TMP && \
60         cp $$NAME.in $$TMP/$$NAME && \
61         pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
62                 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
63         mv $$TMP/$$NAME.1 .; \
64         rm -rf $$TMP)
66 regenerate: \
67         _fvwm-menu-xlock.1 _fvwm-menu-directory.1 _fvwm-menu-headlines.1 \
68         _fvwm-perllib.1
70 ## Create compatibility symlinks if available
72 install-exec-local:
73         @rm -f $(DESTDIR)$(bindir)/xpmroot
74         @$(LN_S) fvwm-root $(DESTDIR)$(bindir)/xpmroot || \
75                 echo "Minor warning: $(bindir)/xpmroot symlink was not created"
77 install-data-local:
78         @rm -f $(DESTDIR)$(mandir)/man1/xpmroot.1
79         @$(LN_S) fvwm-root.1 $(DESTDIR)$(mandir)/man1/xpmroot.1 || \
80                 echo "Minor warning: $(mandir)/man1/xpmroot.1 symlink was not created"
82 CLEANFILES = $(bin_SCRIPTS) $(bin_PROGRAMS)