summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-09 18:41:02 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-09 18:41:02 +0100
commitfe84badb3bb03b264ee18e4986c8f2e710bcb16d (patch)
tree154193755cb2ba1cf1872a04be51fb67ac7e4183
parent8c645b02b091d1d649e30f558ea4ccf15cd672a1 (diff)
Added makefile
-rw-r--r--makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..9233dc3
--- /dev/null
+++ b/makefile
@@ -0,0 +1,14 @@
+build/apt-why.1: bin/apt-why
+ mkdir -p build
+ pod2man $< > $@
+
+install:
+ install -m 755 bin/apt-why /usr/local/bin
+ install -m 644 -D build/apt-why.1 /usr/local/share/man/man1/apt-why.1
+
+clean:
+ $(RM) -r build
+
+uninstall:
+ $(RM) /usr/local/bin/apt-why
+ $(RM) /usr/local/share/man/man1/apt-why.1