diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makemodule.am | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/data/Makemodule.am b/data/Makemodule.am index 437c54d..a1c15e4 100644 --- a/data/Makemodule.am +++ b/data/Makemodule.am | |||
@@ -28,30 +28,32 @@ include data/styles/bora_black/Makemodule.am | |||
28 | include data/styles/arch/pixmaps/Makemodule.am | 28 | include data/styles/arch/pixmaps/Makemodule.am |
29 | include data/styles/arch/Makemodule.am | 29 | include data/styles/arch/Makemodule.am |
30 | 30 | ||
31 | install-pkgdataDATA: | 31 | pkgdata_FILES = data/init data/keys data/apps data/overlay data/menu |
32 | |||
33 | install-data-local: $(pkgdata_FILES) | ||
32 | @echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)" | 34 | @echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)" |
33 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU)) | 35 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU)) |
34 | $(INSTALL_DATA) ./menu $(DESTDIR)$(DEFAULT_MENU) | 36 | $(INSTALL_DATA) ./data/menu $(DESTDIR)$(DEFAULT_MENU) |
35 | @echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)" | 37 | @echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)" |
36 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS)) | 38 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS)) |
37 | $(INSTALL_DATA) $(srcdir)/keys $(DESTDIR)$(DEFAULT_KEYS) | 39 | $(INSTALL_DATA) $(srcdir)/data/keys $(DESTDIR)$(DEFAULT_KEYS) |
38 | @echo "Installing apps file in $(DESTDIR)$(DEFAULT_APPS)" | 40 | @echo "Installing apps file in $(DESTDIR)$(DEFAULT_APPS)" |
39 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_APPS)) | 41 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_APPS)) |
40 | $(INSTALL_DATA) ./apps $(DESTDIR)$(DEFAULT_APPS) | 42 | $(INSTALL_DATA) ./data/apps $(DESTDIR)$(DEFAULT_APPS) |
41 | @echo "Installing overlay file in $(DESTDIR)$(DEFAULT_OVERLAY)" | 43 | @echo "Installing overlay file in $(DESTDIR)$(DEFAULT_OVERLAY)" |
42 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_OVERLAY)) | 44 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_OVERLAY)) |
43 | $(INSTALL_DATA) $(srcdir)/overlay $(DESTDIR)$(DEFAULT_OVERLAY) | 45 | $(INSTALL_DATA) $(srcdir)/data/overlay $(DESTDIR)$(DEFAULT_OVERLAY) |
44 | @echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)" | 46 | @echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)" |
45 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT)) | 47 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT)) |
46 | $(INSTALL_DATA) ./init $(DESTDIR)$(DEFAULT_INIT) | 48 | $(INSTALL_DATA) ./data/init $(DESTDIR)$(DEFAULT_INIT) |
47 | @echo "Installing windowmenu file in $(DESTDIR)$(DEFAULT_WINDOWMENU)" | 49 | @echo "Installing windowmenu file in $(DESTDIR)$(DEFAULT_WINDOWMENU)" |
48 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_WINDOWMENU)) | 50 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_WINDOWMENU)) |
49 | $(INSTALL_DATA) $(srcdir)/windowmenu $(DESTDIR)$(DEFAULT_WINDOWMENU) | 51 | $(INSTALL_DATA) $(srcdir)/data/windowmenu $(DESTDIR)$(DEFAULT_WINDOWMENU) |
50 | 52 | ||
51 | menu: | 53 | data/menu: |
52 | env MENUFILENAME=menu \ | 54 | env MENUFILENAME=$@ \ |
53 | PREFIX="${prefix}" \ | 55 | PREFIX="${prefix}" \ |
54 | MENUTITLE="Fluxbox-${VERSION}" \ | 56 | MENUTITLE="Fluxbox-${VERSION}" \ |
55 | INSTALL=Yes \ | 57 | INSTALL=Yes \ |
56 | PATH="${PATH}:../util:../util/fbrun" \ | 58 | PATH="${PATH}:../util:../util/fbrun" \ |
57 | util/fluxbox-generate_menu | 59 | sh util/fluxbox-generate_menu |