]> arthur.ath.cx Git - pdfman.git/blobdiff - Makefile
Add license, documentation and build system files
[pdfman.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..2bff038
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+#
+# Makefile
+#
+
+SOURCE_ROOT ?= $(CURDIR)
+
+PDFMAN_BIN ?= $(DESTDIR)$(PREFIX)/bin/pdfman
+
+include ./Makefile.ax
+
+check-local:
+       ./pdfman --help 2>&1 | grep -F 'Usage: pdfman' >/dev/null
+
+install-local:
+       install -p -o "$(USER)" -g "$(GROUP)" -m 755 pdfman "$(PDFMAN_BIN)"