aboutsummaryrefslogtreecommitdiffstats
path: root/community/syslog-summary/00-fix_Makefile.patch
blob: f18bb8bd8729009f279fbee443f19916baaf1b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- syslog-summary-1.14/Makefile
+++ syslog-summary-1.14/Makefile.new
@@ -6,8 +6,12 @@
 version = $(shell grep ^version syslog-summary | cut -d\" -f2)
 
 install:
+	install -d $(DESTDIR)/usr/bin
+	install -d $(DESTDIR)/etc/syslog-summary
+	install -d $(DESTDIR)/usr/share/man/man1
 	install -m 755 syslog-summary $(DESTDIR)/usr/bin/syslog-summary
 	install -m 644 ignore.rules $(DESTDIR)/etc/syslog-summary/ignore.rules
+	install -m 644 syslog-summary.1 $(DESTDIR)/usr/share/man/man1
 
 uninstall:
 	[ ! -f $(DESTDIR)/usr/bin/syslog-summary ] || rm -v $(DESTDIR)/usr/bin/syslog-summary