diff options
author | Mattias Andrée <maandree@kth.se> | 2021-09-16 16:19:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-09-16 16:19:18 +0200 |
commit | 53575c264f4bdf90e2778c356164ddec00ddd727 (patch) | |
tree | 68169aec21a4d8d18b00a4c3cd0a308c586d4c19 /Makefile | |
parent | fix makefile (diff) | |
download | blue-53575c264f4bdf90e2778c356164ddec00ddd727.tar.gz blue-53575c264f4bdf90e2778c356164ddec00ddd727.tar.bz2 blue-53575c264f4bdf90e2778c356164ddec00ddd727.tar.xz |
Improve makefile1.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,7 +1,8 @@ .POSIX: -PREFIX = /usr -MANPREFIX = $(PREFIX)/share/man +CONFIGFILE = config.mk +include $(CONFIGFILE) + all: @: @@ -9,16 +10,12 @@ all: install: mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" - mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/blue" cp -- blue "$(DESTDIR)$(PREFIX)/bin/" cp -- blue.1 "$(DESTDIR)$(MANPREFIX)/man1/" - cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/blue/" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/bin/blue" -rm -f -- blue.1 "$(DESTDIR)$(MANPREFIX)/man1/blue.1" - -rm -f -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/blue/LICENSE" - -rmdir -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/blue" clean: @: |