X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2FMakefile.am;h=8035fd54758ed2b7a195fccd962e4d8fc934471c;hb=f29dd7e0cd0ceef0bfe95c865b6b22d34b065b7b;hp=c80549080fa32e04a5b95a627d2b64097285d4e5;hpb=7c8c9e998ffc3a9b22e15feeffe77823142ce531;p=chaz%2Fopenbox diff --git a/data/Makefile.am b/data/Makefile.am index c8054908..8035fd54 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,20 +1,16 @@ -SUBDIRS = styles buttons +#SUBDIRS = styles buttons CLEANFILES = menu MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = README.menu menu.in -all-local: menu +data_DATA = menu distclean-local: $(RM) *\~ .\#* -menu: menu.in - @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," @srcdir@/menu.in > menu - -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) $(DESTDIR)$(pkgdatadir)/menu + $(RM) $(DESTDIR)$(datadir)/menu