fix makefile to work without gnu cp
This commit is contained in:
parent
b01cfea5c6
commit
0e956de906
6
Makefile
6
Makefile
|
@ -14,10 +14,10 @@ compton: $(OBJS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
|
||||||
install: compton
|
install: compton
|
||||||
@cp -t $(PREFIX)/bin compton
|
@cp compton $(PREFIX)/bin
|
||||||
@[ -d "$(MANDIR)" ] \
|
@[ -d "$(MANDIR)" ] \
|
||||||
&& cp -t "$(MANDIR)" man/compton.1
|
&& cp man/compton.1 "$(MANDIR)"
|
||||||
@cp -t $(PREFIX)/bin bin/settrans
|
@cp bin/settrans $(PREFIX)/bin
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@rm -f $(PREFIX)/bin/compton
|
@rm -f $(PREFIX)/bin/compton
|
||||||
|
|
Loading…
Reference in New Issue