fix makefile to work without gnu cp

This commit is contained in:
Christopher Jeffrey 2012-02-27 10:59:36 -06:00
parent b01cfea5c6
commit 0e956de906
1 changed files with 3 additions and 3 deletions

View File

@ -14,10 +14,10 @@ compton: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
install: compton
@cp -t $(PREFIX)/bin compton
@cp compton $(PREFIX)/bin
@[ -d "$(MANDIR)" ] \
&& cp -t "$(MANDIR)" man/compton.1
@cp -t $(PREFIX)/bin bin/settrans
&& cp man/compton.1 "$(MANDIR)"
@cp bin/settrans $(PREFIX)/bin
uninstall:
@rm -f $(PREFIX)/bin/compton