blob: 4a585e20301d5770001f3a8abac29e527ff3f2d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#!/usr/bin/make -f
# Written by Yannick Jestin
# From an example by Antti-Juhani Kaijanaho
# You may treat this file as if it were in the public domain.
librules_interface = 1
include debian/librules.mk
debian/stamp/binary/arch : debian/stamp/binary/libivy-java
debian/stamp/build :
$(MAKE) -C src
touch $@
debian/stamp/clean-build:
-$(MAKE) -C src clean
javarep=$(rootdir)/usr/share/java
mandir=$(rootdir)/usr/share/man/man1
debian/stamp/binary/libivy-java : package=libivy-java
debian/stamp/binary/libivy-java : debian/stamp/build
$(prebinary)
$(install_dir) $(bindir)
$(install_dir) $(javarep)
$(install_dir) $(javarep)/repository
$(install_dir) $(exampledir)
$(install_dir) $(testsdir)
$(install_dir) $(docdir)
$(install_dir) $(docbasedir)
$(install_dir) $(mandir)
( cd src; jar cvfm $(javarep)/ivy.jar ../manifest fr )
#cp -r src/fr $(javarep)/repository/
cp tools/jprobe $(bindir)/jprobe
cp -r Changelog $(docdir)
gzip -9 $(docdir)/Changelog
(cd doc; make)
cp doc/ivy-java.1 $(mandir)
mkdirhier $(docdir)/doc/html/api
( cd src; make docs DOCS=$(docdir)/doc/html/api )
cp -R doc/ivy-java $(docdir)/doc/programmersguide
cp -R doc/ivy-java.pdf $(docdir)/programmersguide.pdf
gzip -9 $(mandir)/ivy-java.1
$(install_nonex) debian/README.Debian $(docdir)
$(install_nonex) BUGS README $(docdir)
$(install_nonex) examples/*.java $(exampledir)
$(install_nonex) examples/*.txt $(exampledir)
$(install_nonex) examples/*.xml $(exampledir)
$(install_nonex) tests/*.java $(testsdir)
$(install_nonex) debian/ivy-java $(docbasedir)
$(install_nonex) debian/changelog $(docdir)/Changelog.debian
$(gzip) $(docdir)/Changelog.debian
$(postbinary)
touch $@
|