blob: 98962218bcf4e92bcaf9ccc829e3fb4f8b6d9ed6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- Makefile.orig 2013-05-21 09:26:18.000000000 +0800
+++ Makefile 2013-06-25 20:53:32.000000000 +0800
@@ -112,22 +112,23 @@
$(CC) $(CFG) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
man/%.1: man/%.1.asciidoc
- a2x --format manpage $<
+ a2x -v --format manpage $<
man/%.1.html: man/%.1.asciidoc
asciidoc $<
docs: $(MANPAGES) $(MANPAGES_HTML)
-install: $(BINS) docs
- @install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)" "$(DESTDIR)$(APPDIR)"
- @install -m755 $(BINS) "$(DESTDIR)$(BINDIR)"/
- @install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/
- @install -m644 compton.desktop "$(DESTDIR)$(APPDIR)"/
+install: $(BINS)
+ @install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(APPDIR)" "$(DESTDIR)$(XDGDIR)"
+ install -m755 $(BINS) "$(DESTDIR)$(BINDIR)"/
+ install -m644 compton.desktop "$(DESTDIR)$(APPDIR)"/
+ install -m644 compton.sample.conf "$(DESTDIR)$(XDGDIR)"/
ifneq "$(DOCDIR)" ""
- @install -d "$(DESTDIR)$(DOCDIR)"
- @install -m644 README.md compton.sample.conf "$(DESTDIR)$(DOCDIR)"/
- @install -m755 dbus-examples/cdbus-driver.sh "$(DESTDIR)$(DOCDIR)"/
+ @install -d "$(DESTDIR)$(DOCDIR)" "$(DESTDIR)$(MANDIR)"
+ install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/
+ install -m644 README.md "$(DESTDIR)$(DOCDIR)"/
+ install -m755 dbus-examples/cdbus-driver.sh "$(DESTDIR)$(DOCDIR)"/
endif
uninstall:
|