summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..34282f7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+all: fb.1
+
+fb.1: fb.pod
+ pod2man -c "" fb.pod fb.1
+
+clean:
+ rm fb.1
+
+install:
+ install -Dm755 fb $(DESTDIR)/usr/bin/fb
+ install -Dm644 fb.1 $(DESTDIR)/usr/share/man/man1/fb.1
+
+uninstall:
+ rm $(DESTDIR)/usr/bin/fb
+ rm $(DESTDIR)/usr/share/man/man1/fb.1