]> Dogcows Code - chaz/openbox/blobdiff - data/Makefile.am
add descriptive names and long descriptions to config var def'ns. set these for the...
[chaz/openbox] / data / Makefile.am
index 93bdd3b4a5eab79be5678d7fcc0ffd5a507944d6..8035fd54758ed2b7a195fccd962e4d8fc934471c 100644 (file)
@@ -1,21 +1,16 @@
-# data/Makefile.am for Openbox
-
-SUBDIRS = styles
+#SUBDIRS = styles buttons
 CLEANFILES = menu
 MAINTAINERCLEANFILES = Makefile.in
 
-all-local: menu
+EXTRA_DIST = README.menu menu.in
 
-distclean-local:
-       rm -f *\~ .\#*
+data_DATA = menu
 
-menu: menu.in
-       @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," @srcdir@/menu.in > menu
+distclean-local:
+       $(RM) *\~ .\#*
 
-install-data-local: menu
-       test -f $(DESTDIR)$(pkgdatadir)/menu || \
-       $(INSTALL_DATA) menu $(DESTDIR)$(pkgdatadir)
+menu: $(srcdir)/menu.in
+       $(SED) -e "s!@datadir@!$(datadir)!" $< > $@
 
 uninstall-am:
-       rm -f $(DESTDIR)$(pkgdatadir)/menu
-
+       $(RM) $(DESTDIR)$(datadir)/menu
This page took 0.02204 seconds and 4 git commands to generate.