blob: 96a82c1125cc830b876e20b585e8d959e4ac89ad [file] [log] [blame]
Brad Bishop70436da2015-09-16 14:49:27 -04001diff --git a/Makefile b/Makefile
2new file mode 100644
3index 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)