From 0d35d0797942b940f71cda8a130bb46696303f7a Mon Sep 17 00:00:00 2001 From: Andreas Waidler Date: Wed, 11 May 2011 05:07:05 +0200 Subject: [PATCH] Fixed install target of makefiles. --- Make.config | 3 +++ Makefile | 1 - src/Makefile | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Make.config b/Make.config index f899696..75b21e6 100644 --- a/Make.config +++ b/Make.config @@ -1,6 +1,9 @@ PREFIX = /usr/local MANDIR = $(PREFIX)/man +INST = install +RM = rm + # You hopefully won't have to touch the following lines. CFLAGS = -W -Wall -Werror -Wfatal-errors -Wextra CFLAGS += -pedantic-errors diff --git a/Makefile b/Makefile index b7a820a..316cc7a 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,6 @@ tests: all install: all make -C src install - make -C bin install $(INST) -m 444 $(MAN) $(MANDIR)/man1 uninstall: diff --git a/src/Makefile b/src/Makefile index 738c5b3..cd0b452 100644 --- a/src/Makefile +++ b/src/Makefile @@ -14,7 +14,7 @@ $(POUT): $(LIBS) $(POBJ) install: all $(INST) -m 555 -s $(POUT) $(PREFIX)/bin - $(INST) -m 555 -s $(NOMT) $(PREFIX)/bin + $(INST) -m 555 $(NOMT) $(PREFIX)/bin clean: $(RM) -f $(LIBS) $(POBJ) $(POUT) -- 2.11.4.GIT