]> arthur.barton.de Git - ax-make.git/commitdiff
Makefile: Add "install" target
authorAlexander Barton <alex@barton.de>
Mon, 5 May 2014 17:38:23 +0000 (19:38 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 5 May 2014 17:38:23 +0000 (19:38 +0200)
Makefile

index fa0a82ca504b13b61d10e3dd2ec98b9be51a697e..4a26dffd4397942e1f57129279d1a08433aa12e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,3 +9,9 @@
 #
 
 include Makefile.ax
+
+install-local:
+       install -d -o $(USER) -g $(GROUP) -m 755 \
+        $(DESTDIR)$(PREFIX)/share/ax-make
+       install -p -o $(USER) -g $(GROUP) -m 644 Makefile.ax \
+        $(DESTDIR)$(PREFIX)/share/ax-make/Makefile.ax