diff options
Diffstat (limited to 'icebox/Makefile')
-rw-r--r-- | icebox/Makefile | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/icebox/Makefile b/icebox/Makefile index 72c98b9..43d4664 100644 --- a/icebox/Makefile +++ b/icebox/Makefile @@ -1,4 +1,4 @@ -DESTDIR = /usr/local +include ../config.mk all: chipdb-1k.txt chipdb-8k.txt @@ -15,33 +15,33 @@ clean: rm -f icebox.pyc iceboxdb.pyc install: all - mkdir -p $(DESTDIR)/share/icebox - mkdir -p $(DESTDIR)/bin - cp chipdb-1k.txt $(DESTDIR)/share/icebox/ - cp chipdb-8k.txt $(DESTDIR)/share/icebox/ - cp icebox.py $(DESTDIR)/bin/icebox.py - cp iceboxdb.py $(DESTDIR)/bin/iceboxdb.py - cp icebox_chipdb.py $(DESTDIR)/bin/icebox_chipdb - cp icebox_diff.py $(DESTDIR)/bin/icebox_diff - cp icebox_explain.py $(DESTDIR)/bin/icebox_explain - cp icebox_colbuf.py $(DESTDIR)/bin/icebox_colbuf - cp icebox_html.py $(DESTDIR)/bin/icebox_html - cp icebox_maps.py $(DESTDIR)/bin/icebox_maps - cp icebox_vlog.py $(DESTDIR)/bin/icebox_vlog + mkdir -p $(DESTDIR)$(PREFIX)/share/icebox + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp chipdb-1k.txt $(DESTDIR)$(PREFIX)/share/icebox/ + cp chipdb-8k.txt $(DESTDIR)$(PREFIX)/share/icebox/ + cp icebox.py $(DESTDIR)$(PREFIX)/bin/icebox.py + cp iceboxdb.py $(DESTDIR)$(PREFIX)/bin/iceboxdb.py + cp icebox_chipdb.py $(DESTDIR)$(PREFIX)/bin/icebox_chipdb + cp icebox_diff.py $(DESTDIR)$(PREFIX)/bin/icebox_diff + cp icebox_explain.py $(DESTDIR)$(PREFIX)/bin/icebox_explain + cp icebox_colbuf.py $(DESTDIR)$(PREFIX)/bin/icebox_colbuf + cp icebox_html.py $(DESTDIR)$(PREFIX)/bin/icebox_html + cp icebox_maps.py $(DESTDIR)$(PREFIX)/bin/icebox_maps + cp icebox_vlog.py $(DESTDIR)$(PREFIX)/bin/icebox_vlog uninstall: - rm -f $(DESTDIR)/bin/icebox.py - rm -f $(DESTDIR)/bin/iceboxdb.py - rm -f $(DESTDIR)/bin/icebox_chipdb - rm -f $(DESTDIR)/bin/icebox_diff - rm -f $(DESTDIR)/bin/icebox_explain - rm -f $(DESTDIR)/bin/icebox_colbuf - rm -f $(DESTDIR)/bin/icebox_html - rm -f $(DESTDIR)/bin/icebox_maps - rm -f $(DESTDIR)/bin/icebox_vlog - rm -f $(DESTDIR)/share/icebox/chipdb-1k.txt - rm -f $(DESTDIR)/share/icebox/chipdb-8k.txt - -rmdir $(DESTDIR)/share/icebox + rm -f $(DESTDIR)$(PREFIX)/bin/icebox.py + rm -f $(DESTDIR)$(PREFIX)/bin/iceboxdb.py + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_chipdb + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_diff + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_explain + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_colbuf + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_html + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_maps + rm -f $(DESTDIR)$(PREFIX)/bin/icebox_vlog + rm -f $(DESTDIR)$(PREFIX)/share/icebox/chipdb-1k.txt + rm -f $(DESTDIR)$(PREFIX)/share/icebox/chipdb-8k.txt + -rmdir $(DESTDIR)$(PREFIX)/share/icebox .PHONY: all clean install uninstall |