diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-05 00:53:16 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-05 00:53:16 +0300 |
commit | 599b7d13aeb1cb8f94aea1ee15e473c137fb8cf2 (patch) | |
tree | 9314055cdacb6de6d862c47949b36937ed5e7888 /extra/grabc/patches/better-makefile.patch | |
parent | b9676baf2c1590977610431e3119dcfc5200327d (diff) | |
download | repository-599b7d13aeb1cb8f94aea1ee15e473c137fb8cf2.tar.gz |
grabc: drop from repository
Diffstat (limited to 'extra/grabc/patches/better-makefile.patch')
-rw-r--r-- | extra/grabc/patches/better-makefile.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/extra/grabc/patches/better-makefile.patch b/extra/grabc/patches/better-makefile.patch deleted file mode 100644 index 5fe735d7..00000000 --- a/extra/grabc/patches/better-makefile.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/Makefile b/Makefile -index 5de8e52..9c17c2d 100644 ---- a/Makefile -+++ b/Makefile -@@ -12,8 +12,9 @@ cp=/bin/cp -fv - DESTDIR = - binary=./grabc - manpage=./grabc.1 --bindir=/usr/local/bin --mandir=/usr/local/share/man/man1 -+PREFIX = /usr/local -+bindir=${PREFIX}/bin -+mandir=${PREFIX}/share/man/man1 - - # replace -O with -g in order to debug - -@@ -33,20 +34,16 @@ all: $(PROGNAME) - $(PROGNAME) : $(OBJS) - $(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS) - --doc: -+grabc.1: - pod2man grabc.pod > grabc.1 - --install: installdirs install-bin install-man -+install: install-bin install-man - --install-bin: -- ${cp} ${binary} ${DESTDIR}${bindir} -+install-bin: grabc -+ install -Dm755 -t ${DESTDIR}${bindir} ${binary} - --installdirs: -- $(SHELL) ./mkinstalldirs ${DESTDIR}${bindir} -- $(SHELL) ./mkinstalldirs ${DESTDIR}${mandir} -- --install-man: -- ${cp} ${manpage} ${DESTDIR}${mandir} -+install-man: grabc.1 -+ install -Dm644 -t ${DESTDIR}${mandir} ${manpage} - - deb: - /bin/rm -f *.deb |