datefudge/datefudge-make.patch
2013-11-19 14:25:56 +01:00

28 lines
1.1 KiB
Diff

Common subdirectories: datefudge-1.18.orig/debian and datefudge-1.18/debian
diff -u datefudge-1.18.orig/Makefile datefudge-1.18/Makefile
--- datefudge-1.18.orig/Makefile 2013-05-11 19:02:28.000000000 +0200
+++ datefudge-1.18/Makefile 2013-11-13 15:18:56.919488272 +0100
@@ -1,6 +1,6 @@
# $Id: Makefile 19 2011-02-14 22:21:52Z robert $
-VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+VERSION := 1.18
CC = gcc
CFLAGS += -Wall -Wextra -D_REENTRANT -fpic
@@ -20,11 +20,11 @@
install: datefudge datefudge.so datefudge.1
install -d $(DESTDIR)$(libdir)/$(libarch)
- $(INSTALL_PROGRAM) -o root -g root -m 644 datefudge.so $(DESTDIR)$(libdir)/$(libarch)/datefudge.so
+ $(INSTALL_PROGRAM) -p -m 644 datefudge.so $(DESTDIR)$(libdir)/$(libarch)/datefudge.so
install -d $(DESTDIR)$(bindir)
- $(INSTALL_PROGRAM) -o root -g root -m 755 datefudge $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) -p -m 755 datefudge $(DESTDIR)$(bindir)
install -d $(DESTDIR)$(mandir)/man1
- install -o root -g root -m 644 datefudge.1 $(DESTDIR)$(mandir)/man1
+ install -p -m 644 datefudge.1 $(DESTDIR)$(mandir)/man1
datefudge: datefudge.sh
datefudge.1: datefudge.man