summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 434158f..23b6d89 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,5 +19,13 @@ all:
install:
test -d $(PREFIX)/usr/lib/perl5/site_perl || mkdirhier $(PREFIX)/usr/lib/perl5/site_perl
install -m 644 Ivy.pm $(PREFIX)/usr/lib/perl5/site_perl
+ test -d $(PREFIX)/usr/doc/ivy-perl || mkdirhier $(PREFIX)/usr/doc/ivy-perl
+ for f in `find ../doc/*.html -type f -maxdepth 1`; do \
+ install -m 644 $$f $(PREFIX)/usr/doc/ivy-perl; \
+ done
+ test -d $(PREFIX)/usr/man/man1 || mkdirhier $(PREFIX)/usr/man/man1
+ for f in `find ../doc/*.1 -type f -maxdepth 1`; do \
+ install -m 644 $$f $(PREFIX)/usr/man/man1; \
+ done
rpm::
/usr/bin/rpmize