install into DESTDIR
and use 'install' throughout (rather than 'mkdir') Signed-off-by: IOhannes m zmölnig <zmoelnig@umlaeute.mur.at>master
parent
0e1b25176d
commit
572438b85e
6
makefile
6
makefile
|
@ -69,9 +69,9 @@ version.o: .version version.sh $(filter-out version.d,$(DEPEND))
|
||||||
force:
|
force:
|
||||||
|
|
||||||
install: $(PRG)
|
install: $(PRG)
|
||||||
mkdir -p $(sbindir) $(man8dir)
|
install -p -m 755 -d $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
|
||||||
install $(PRG) $(sbindir)
|
install $(PRG) $(DESTDIR)$(sbindir)
|
||||||
install -p -m 644 -t $(man8dir) $(PRG:%=%.8)
|
install -p -m 644 -t $(DESTDIR)$(man8dir) $(PRG:%=%.8)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJECTS) $(DEPEND)
|
rm -f $(OBJECTS) $(DEPEND)
|
||||||
|
|
Loading…
Reference in New Issue