diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2016-12-15 21:27:33 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2016-12-15 21:28:44 +0000 |
commit | 99778c999c364ad3e5967f7a9a0a3e484c279716 (patch) | |
tree | 0a0e4a83ea69e4bf5221b1f9f6cbc4ba46c1fa4e | |
parent | fad06882fe3305983292dfa34d335ec461761b61 (diff) | |
download | hktool-99778c999c364ad3e5967f7a9a0a3e484c279716.tar.gz hktool-99778c999c364ad3e5967f7a9a0a3e484c279716.tar.xz hktool-99778c999c364ad3e5967f7a9a0a3e484c279716.zip |
Makefile: fix installing to empty location
install needs -t to always create the full destination directory instead
of treating it as the destination file.
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,9 +31,9 @@ debug: CFLAGS += -ggdb -Og -Werror debug: LDFLAGS += -ggdb -Og install: $(PROG) $(MANPAGE) - install -Dm755 -s $(PROG) $(DESTDIR)$(PREFIX)$(bindir) - install -Dm644 ./data/* -t $(DESTDIR)$(PREFIX)$(datarootdir)/$(PROG)/ - install -Dm644 $(MANPAGE) $(DESTDIR)$(PREFIX)$(mandir)/man1/ + install -Dm755 -s $(PROG) -t $(DESTDIR)$(PREFIX)$(bindir) + install -Dm644 ./data/* -t $(DESTDIR)$(PREFIX)$(datarootdir)/$(PROG) + install -Dm644 $(MANPAGE) -t $(DESTDIR)$(PREFIX)$(mandir)/man1 clean: $(RM) $(OBJ) $(OBJ:.o=.d) $(PROG) |