1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-18 13:55:36 -05:00
This commit is contained in:
Christopher Jeffrey 2012-03-20 19:30:20 -05:00
parent 24ffba0e51
commit 24bf591bd7

View file

@ -1,8 +1,8 @@
CC ?= gcc
PREFIX ?= /usr
BINDIR ?= $(DESTDIR)$(PREFIX)/bin
MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/share/man/man1
PACKAGES = x11 xcomposite xfixes xdamage xrender
LIBS = $(shell pkg-config --libs $(PACKAGES)) -lm
@ -17,14 +17,14 @@ compton: $(OBJS)
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
install: compton
@install -Dm755 compton "$(BINDIR)"/compton
@install -Dm755 bin/settrans "$(BINDIR)"/settrans
@install -Dm644 man/compton.1 "$(MANDIR)"/compton.1
@install -Dm755 compton "$(DESTDIR)$(BINDIR)"/compton
@install -Dm755 bin/settrans "$(DESTDIR)$(BINDIR)"/settrans
@install -Dm644 man/compton.1 "$(DESTDIR)$(MANDIR)"/compton.1
uninstall:
@rm -f "$(BINDIR)/compton"
@rm -f "$(BINDIR)/settrans"
@rm -f "$(MANDIR)/compton.1"
@rm -f "$(DESTDIR)$(BINDIR)/compton"
@rm -f "$(DESTDIR)$(BINDIR)/settrans"
@rm -f "$(DESTDIR)$(MANDIR)/compton.1"
clean:
@rm -f $(OBJS) compton