インストール自動化のため、Makefile追加
authorj8takagi <info@j8takagi.net>
Mon, 15 Oct 2012 02:43:24 +0000 (11:43 +0900)
committerj8takagi <info@j8takagi.net>
Mon, 15 Oct 2012 02:43:24 +0000 (11:43 +0900)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..f72d59e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+.PHONY: build install
+
+PREFIX = /usr/local
+INSTALLDIR = $(PREFIX)/bin
+
+ECHO = echo
+INSTALL = install
+build:
+       @$(ECHO) "nothing is needed to build."
+
+install: logcat dpkg-history
+       $(INSTALL) -m 755 logcat $(INSTALLDIR)
+       $(INSTALL) -m 755 dpkg-history $(INSTALLDIR)
+
+clean:
+       @$(ECHO) "nothing is needed to clean."