summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index c8381ed..1b64dea 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -50,11 +50,17 @@ clean:
install: all
test -d $(PREFIX)/usr/bin || mkdirhier $(PREFIX)/usr/bin
- test -d $(PREFIX)$(IRBOX_DIR) || mkdirhier $(PREFIX)$(IRBOX_DIR)
install -m755 irbox $(PREFIX)/usr/bin
+ test -d $(PREFIX)/usr/man/man5 || mkdirhier $(PREFIX)/usr/man/man5
+ install -m 644 ../doc/irbox.5 $(PREFIX)/usr/man/man5
+ test -d $(PREFIX)/usr/man/man8 || mkdirhier $(PREFIX)/usr/man/man8
+ install -m 644 ../doc/irbox.8 $(PREFIX)/usr/man/man8
+ test -d $(PREFIX)$(IRBOX_DIR) || mkdirhier $(PREFIX)$(IRBOX_DIR)
for f in `find ../data -type f -maxdepth 1`; do \
- install -m 644 $$f $(PREFIX)$(IRBOX_DIR); \
- done
+ install -m 644 $$f $(PREFIX)$(IRBOX_DIR); \
+ done
+
+
rpm::
/usr/bin/rpmize