You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
778 B

AUTOMAKE_OPTIONS = foreign
THEME = BlueSteel
THEME_FILES = $(THEME).etheme
BUILT_SOURCES = $(THEME).etheme
EXTRA_DIST = etheme-$(THEME).spec $(THEME_FILES)
THEME_DIR = $(DESTDIR)$(datadir)/e16/themes/$(THEME)
install-data-local:
$(mkinstalldirs) $(THEME_DIR)
for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
-if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R root $(THEME_DIR); fi
uninstall-local:
-for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); \
rm -f `tar -tf -` 2>/dev/null); \
done
.PHONY: etheme $(THEME).etheme
etheme: $(THEME).etheme
$(THEME).etheme:
test ! -d $(srcdir)/data || \
(cd $(srcdir)/data; tar -czf $(abs_builddir)/$(THEME).etheme *)