diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-09 17:57:05 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-09 17:57:05 -0400 |
commit | a7738f4dc72c9445623cd6f5348d7a80d4e52690 (patch) | |
tree | b336daf9b226783c39e6e985410cecf46484de3d /images/Makefile | |
download | fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.tar.gz fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.tar.bz2 fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.zip |
initial commit, straight from apt-get source
Diffstat (limited to 'images/Makefile')
-rw-r--r-- | images/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile new file mode 100644 index 0000000..7bbed3a --- /dev/null +++ b/images/Makefile @@ -0,0 +1,27 @@ +# Part 0 +# load common stuff +TOPDIR = .. +include $(TOPDIR)/Makefile.common + +# backslashify slashes to avoid problems with sed +BPREFIX := $(subst /,\/,$(PREFIX)) + +CFG := $(wildcard *.cfg) +RES := $(CFG:%.cfg=%) + +all: $(RES) + +%: %.cfg + sed 's/PREFIX/$(BPREFIX)/g' < $< > $@ + +clean: + $(RM) $(RES) *~ + +install: + install -d $(PREFIX)/share/fbxkb +# install -m 644 $(RES) $(PREFIX)/share/fbxkb + install -d $(PREFIX)/share/fbxkb/images + install -m 644 *.png $(PREFIX)/share/fbxkb/images/ + +uninstall: + rm -rf $(PREFIX)/share/fbxkb |