From 0e956de906dbeba0e903259489102d1368d4c861 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 27 Feb 2012 10:59:36 -0600 Subject: [PATCH] fix makefile to work without gnu cp --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 78ed87e..cec0dd5 100644 --- a/Makefile +++ b/Makefile @@ -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