msysklogd/msysklogd-0.6.2-DESTDIR.patch

23 lines
821 B
Diff
Raw Permalink Normal View History

diff -Nru msysklogd-0.6.2.orig/Makefile msysklogd-0.6.2/Makefile
--- msysklogd-0.6.2.orig/Makefile 2005-12-03 23:44:29.000000000 +0100
+++ msysklogd-0.6.2/Makefile 2007-07-31 13:44:23.000000000 +0200
@@ -29,12 +29,12 @@
$(CC) $(LDFLAGS) -o $@ sysklogd.o $(LIBS)
install: $(PROGS)
- mkdir -p $(PREFIX)/{bin,sbin}
- mkdir -p $(PREFIX)/man/man{1,8}
- cp logwrite $(PREFIX)/bin
- cp logwrite.1 $(PREFIX)/man/man1
- cp klogctl sysklogd $(PREFIX)/sbin
- cp klogctl.8 sysklogd.8 $(PREFIX)/man/man8
+ mkdir -p $(DESTDIR)$(PREFIX)/{bin,sbin}
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man{1,8}
+ cp logwrite $(DESTDIR)$(PREFIX)/bin
+ cp logwrite.1 $(DESTDIR)$(PREFIX)/share/man/man1
+ cp klogctl sysklogd $(DESTDIR)$(PREFIX)/sbin
+ cp klogctl.8 sysklogd.8 $(DESTDIR)$(PREFIX)/share/man/man8
clean:
rm -f *.o *~ $(PROGS)