aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules11
1 files changed, 8 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 25fb601..535ceb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ debian/stamp/clean-build:
-$(MAKE) -C src clean
javarep=$(rootdir)/usr/share/java/repository
+mandir=$(rootdir)/usr/share/man/man1
debian/stamp/binary/ivy-java : package=ivy-java
debian/stamp/binary/ivy-java : debian/stamp/build
@@ -25,9 +26,13 @@ debian/stamp/binary/ivy-java : debian/stamp/build
$(install_dir) $(javarep)
$(install_dir) $(exampledir)
$(install_dir) $(docbasedir)
- cp -r src $(javarep)
- cp -r doc/* $(docdir)
- rm -f $(docdir)/changes.html
+ $(install_dir) $(mandir)
+ cp -r src/fr $(javarep)
+ cp -r doc/html/api $(docdir)
+ cp -r doc/changes.html $(docdir)
+ cp doc/ivy-java.1 $(mandir)
+ gzip -9 $(mandir)/ivy-java.1
+ rm -f $(docdir)/changes.html
$(install_nonex) debian/README.Debian $(docdir)
$(install_nonex) README TODO $(docdir)
$(install_nonex) src/*.java $(exampledir)