Brad Bishop | 70436da | 2015-09-16 14:49:27 -0400 | [diff] [blame] | 1 | diff --git a/Makefile b/Makefile |
| 2 | new file mode 100644 |
| 3 | index 0000000..3d79547 |
| 4 | --- /dev/null |
| 5 | +++ b/Makefile |
| 6 | @@ -0,0 +1,18 @@ |
| 7 | +PACKAGE=rest-dbus |
| 8 | + |
| 9 | +prefix?=/usr/local |
| 10 | +bin=$(prefix)/usr/bin |
| 11 | +share=$(prefix)/usr/share/$(PACKAGE) |
| 12 | + |
| 13 | +build clean all: |
| 14 | + |
| 15 | +install: |
| 16 | + @install -d $(bin) $(share)/resources $(srv) |
| 17 | + @install -m 755 $(PACKAGE) $(bin) |
| 18 | + @for f in resources/*; do \ |
| 19 | + install -m644 $$f $(share)/resources; \ |
| 20 | + done |
| 21 | + |
| 22 | +uninstall: |
| 23 | + @rm -f $(bin)/$(PACKAGE) |
| 24 | + @rm -rf $(share) |