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