aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am29
1 files changed, 23 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 80fed6a..e921afa 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,24 +6,36 @@ PROGRAM_SUFFIX=@program_suffix@
6DEFAULT_MENU = @DEFAULT_MENU@ 6DEFAULT_MENU = @DEFAULT_MENU@
7DEFAULT_STYLE = @DEFAULT_STYLE@ 7DEFAULT_STYLE = @DEFAULT_STYLE@
8DEFAULT_KEYS = @DEFAULT_KEYS@ 8DEFAULT_KEYS = @DEFAULT_KEYS@
9DEFAULT_APPS = @DEFAULT_APPS@
10DEFAULT_OVERLAY = @DEFAULT_OVERLAY@
9DEFAULT_INIT = @DEFAULT_INIT@ 11DEFAULT_INIT = @DEFAULT_INIT@
12DEFAULT_WINDOWMENU = @DEFAULT_WINDOWMENU@
10 13
11SUBDIRS= styles 14SUBDIRS= styles
12CLEANFILES= menu menu.in menu.pre menu.bak init 15CLEANFILES= menu menu.in menu.pre menu.bak init apps
13MAINTAINERCLEANFILES= Makefile.in 16MAINTAINERCLEANFILES= Makefile.in
14pkgdata_DATA= keys menu init 17pkgdata_DATA= keys menu init apps overlay
15EXTRA_DIST= keys init.in 18EXTRA_DIST= keys init.in apps.in overlay
16all-local: menu init 19all-local: menu init apps
17install-pkgdataDATA: 20install-pkgdataDATA:
18 @echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)" 21 @echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)"
19 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU)) 22 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU))
20 $(INSTALL_DATA) menu $(DESTDIR)$(DEFAULT_MENU) 23 $(INSTALL_DATA) $(srcdir)/menu $(DESTDIR)$(DEFAULT_MENU)
21 @echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)" 24 @echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)"
22 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS)) 25 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS))
23 $(INSTALL_DATA) $(srcdir)/keys $(DESTDIR)$(DEFAULT_KEYS) 26 $(INSTALL_DATA) $(srcdir)/keys $(DESTDIR)$(DEFAULT_KEYS)
27 @echo "Installing apps file in $(DESTDIR)$(DEFAULT_APPS)"
28 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_APPS))
29 $(INSTALL_DATA) $(srcdir)/apps $(DESTDIR)$(DEFAULT_APPS)
30 @echo "Installing overlay file in $(DESTDIR)$(DEFAULT_OVERLAY)"
31 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_OVERLAY))
32 $(INSTALL_DATA) $(srcdir)/overlay $(DESTDIR)$(DEFAULT_OVERLAY)
24 @echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)" 33 @echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)"
25 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT)) 34 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT))
26 $(INSTALL_DATA) init $(DESTDIR)$(DEFAULT_INIT) 35 $(INSTALL_DATA) $(srcdir)/init $(DESTDIR)$(DEFAULT_INIT)
36 @echo "Installing windowmenu file in $(DESTDIR)$(DEFAULT_WINDOWMENU)"
37 $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_WINDOWMENU))
38 $(INSTALL_DATA) $(srcdir)/windowmenu $(DESTDIR)$(DEFAULT_WINDOWMENU)
27 39
28distclean-local: 40distclean-local:
29 rm -f *\~ 41 rm -f *\~
@@ -33,6 +45,11 @@ init: init.in
33 -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \ 45 -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \
34 -e "s,@default_style@,$(DEFAULT_STYLE),g" $(srcdir)/init.in > init 46 -e "s,@default_style@,$(DEFAULT_STYLE),g" $(srcdir)/init.in > init
35 47
48apps: apps.in
49 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \
50 -e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \
51 -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" $(srcdir)/apps.in > apps
52
36menu: ../util/fluxbox-generate_menu 53menu: ../util/fluxbox-generate_menu
37 env MENUFILENAME=menu \ 54 env MENUFILENAME=menu \
38 PREFIX="${prefix}" \ 55 PREFIX="${prefix}" \