Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 PACKAGEscip-debian debian horae 071~svn537+ds1-2 horae/rules/PACKAGE.=$(shellscip-debian debian horae 071~svn537+ds1-2 horae/rules/shell. dh_listpackages)
7
8 ifndef PERL
9 PERLscip-debian debian horae 071~svn537+ds1-2 horae/rules/PERL. = /usr/bin/perl
10 endif
11
12 TMPscip-debian debian horae 071~svn537+ds1-2 horae/rules/TMP. = $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/$(PACKAGEscip-debian debian horae 071~svn537+ds1-2 horae/rules/PACKAGE.)
13
14 configurescip-debian debian horae 071~svn537+ds1-2 horae/rules/configure().: configure-stamp
15 configure-stampscip-debian debian horae 071~svn537+ds1-2 horae/rules/configure-stamp().:
16 dh_testdirscip-debian debian debhelper . dh_testdir().
17 # Generate the Build script
18 $(PERLscip-debian debian horae 071~svn537+ds1-2 horae/rules/PERL.) Build.PL destdir=$(TMPscip-debian debian horae 071~svn537+ds1-2 horae/rules/TMP.)
19 touch configure-stamp
20
21
22 buildscip-debian debian horae 071~svn537+ds1-2 horae/rules/build().: build-arch build-indep
23
24 build-archscip-debian debian horae 071~svn537+ds1-2 horae/rules/build-arch().:
25
26 build-indepscip-debian debian horae 071~svn537+ds1-2 horae/rules/build-indep().: build-stamp
27
28 build-stampscip-debian debian horae 071~svn537+ds1-2 horae/rules/build-stamp().: configure-stamp
29 dh_testdirscip-debian debian debhelper . dh_testdir().
30 ./Build build --verbose=1
31 ./Build test --verbose=1
32 # Generate man pages for artemis only
33 cd lib/Ifeffit/lib/artemis.doc ; ./make_doc --man
34 cd examples && \
35 tar -czf artemis_examples.tar.gz artemis && \
36 tar -czf athena_examples.tar.gz athena
37 touch build-stamp
38
39 cleanscip-debian debian horae 071~svn537+ds1-2 horae/rules/clean().:
40 dh_testdirscip-debian debian debhelper . dh_testdir().
41 dh_testrootscip-debian debian debhelper . dh_testroot().
42 dh_cleanscip-debian debian debhelper . dh_clean(). build-stamp configure-stamp
43 [ ! -f Build ] || ./Build realclean --verbose=1
44 # rm -f */*.db
45 # rm -f athena.pl artemis.pl diana.pl hephaestus.pl athena artemis diana hephaestus
46 rm -f athena_parts/rc.pl artemis_parts/rc.pl
47 rm -f lib/Ifeffit/lib/athena/athenarc \
48 lib/Ifeffit/lib/athena/athena.ini \
49 lib/Ifeffit/lib/athena/athenarcw
50 rm -f lib/Ifeffit/lib/artemis/artemisrc \
51 lib/Ifeffit/lib/artemis/artemis.ini \
52 lib/Ifeffit/lib/artemis/artemisrcw \
53 lib/Ifeffit/lib/artemis.doc/artemis.1 \
54 lib/Ifeffit/lib/artemis.doc/artemisdoc.pod
55 rm -f examples/*.tar.gz
56 dh_cleanscip-debian debian debhelper . dh_clean().
57
58 installscip-debian debian horae 071~svn537+ds1-2 horae/rules/install().: build
59 dh_testdirscip-debian debian debhelper . dh_testdir().
60 dh_testrootscip-debian debian debhelper . dh_testroot().
61 dh_prepscip-debian debian debhelper . dh_prep().
62 dh_installdirsscip-debian debian debhelper . dh_installdirs().
63
64 # Install package in temporary directory
65 ./Build install --installdirs vendor --verbose=1
66 rm -rf $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/share/man/man3
67 rm -rf $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/lib
68 rm -rf $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/share/perl5/WWWBrowser.pm
69 # fix encoding
70 iconv -f ISO-8859-1 -t UTF-8 $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/share/perl5/Ifeffit/Tools.pm > Tools.pm
71 mv -f Tools.pm $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/share/perl5/Ifeffit/Tools.pm
72 # Tidy up names to avoid lintian errors
73 mv $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/bin/ifeffit_shell.pl \
74 $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/bin/ifeffit_shell
75 mv $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/share/man/man1/ifeffit_shell.pl.1p \
76 $(CURDIRscip-debian debian horae 071~svn537+ds1-2 horae/rules/CURDIR.)/debian/horae/usr/share/man/man1/ifeffit_shell.1p
77 dh_installscip-debian debian debhelper . dh_install(). debian/athena.xpm usr/share/pixmaps
78 dh_installscip-debian debian debhelper . dh_install(). debian/artemis.xpm usr/share/pixmaps
79 dh_installscip-debian debian debhelper . dh_install(). debian/hephaestus.xpm usr/share/pixmaps
80 dh_installscip-debian debian debhelper . dh_install(). debian/athena.desktop usr/share/applications
81 dh_installscip-debian debian debhelper . dh_install(). debian/artemis.desktop usr/share/applications
82 dh_installscip-debian debian debhelper . dh_install(). debian/hephaestus.desktop usr/share/applications
83
84 # Build architecture-independent files here.
85 binary-indepscip-debian debian horae 071~svn537+ds1-2 horae/rules/binary-indep().: build install
86 dh_testdirscip-debian debian debhelper . dh_testdir().
87 dh_testrootscip-debian debian debhelper . dh_testroot().
88 dh_installdocsscip-debian debian debhelper . dh_installdocs().
89 dh_installexamplesscip-debian debian debhelper . dh_installexamples().
90 dh_installmanscip-debian debian debhelper . dh_installman().
91 dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs().
92 dh_linkscip-debian debian debhelper . dh_link().
93 dh_compressscip-debian debian debhelper . dh_compress().
94 dh_fixpermsscip-debian debian debhelper . dh_fixperms().
95 dh_installdebscip-debian debian debhelper . dh_installdeb().
96 dh_perlscip-debian debian debhelper . dh_perl().
97 dh_gencontrolscip-debian debian debhelper . dh_gencontrol().
98 dh_md5sumsscip-debian debian debhelper . dh_md5sums().
99 dh_builddebscip-debian debian debhelper . dh_builddeb().
100
101 # Build architecture-dependent files here.
102 binary-archscip-debian debian horae 071~svn537+ds1-2 horae/rules/binary-arch().:
103 # We have nothing to do by default.
104
105 binaryscip-debian debian horae 071~svn537+ds1-2 horae/rules/binary().: binary-indep binary-arch
106 .PHONYscip-debian debian horae 071~svn537+ds1-2 horae/rules/`.PHONY`().: build clean binary-indep binary-arch binary install configure