Package: googler / 2.9.0-1

0001-Remove-unneeded-file.patch Patch series | download
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
36
37
38
39
40
41
42
43
44
45
46
47
From df2bc44abd9d3bf22efbc25613432bd6047801a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?SZ=20Lin=20=28=E6=9E=97=E4=B8=8A=E6=99=BA=29?=
 <szlin@cs.nctu.edu.tw>
Date: Mon, 29 Aug 2016 13:41:24 +0800
Subject: Remove unneeded file.

---
 Makefile | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 Makefile

diff --git a/Makefile b/Makefile
deleted file mode 100644
index e036872..0000000
--- a/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-PREFIX ?= /usr/local
-BINDIR = $(DESTDIR)$(PREFIX)/bin
-MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
-DOCDIR = $(DESTDIR)$(PREFIX)/share/doc/googler
-
-.PHONY: all install uninstall disable-self-upgrade
-
-all:
-
-install:
-	install -m755 -d $(BINDIR)
-	install -m755 -d $(MANDIR)
-	install -m755 -d $(DOCDIR)
-	gzip -c googler.1 > googler.1.gz
-	install -m755 googler $(BINDIR)
-	install -m644 googler.1.gz $(MANDIR)
-	install -m644 README.md $(DOCDIR)
-	rm -f googler.1.gz
-
-uninstall:
-	rm -f $(BINDIR)/googler
-	rm -f $(MANDIR)/googler.1.gz
-	rm -rf $(DOCDIR)
-
-# Disable the self-upgrade mechanism entirely. Intended for packagers.
-#
-# We assume that sed(1) has the -i option, which is not POSIX but seems common
-# enough in modern implementations.
-disable-self-upgrade:
-	sed -i.bak 's/^ENABLE_SELF_UPGRADE_MECHANISM=True$$/ENABLE_SELF_UPGRADE_MECHANISM=False/' googler