]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/package.make
025ef15d211ff3d7e49b34ee375cc8b85afa5267
[lilypond.git] / stepmake / stepmake / package.make
1 # stepmake/Package.make
2
3 deb:
4 #       $(MAKE) -C $(depth)/debian
5         @echo The \"deb\" target is deprecated.
6         @echo Please install the appropriate Debian packages:
7         @echo
8         @echo "  apt-get install task-debian-devel"
9         @echo 
10         @echo and then run \"debuild\" in the lilypond directory.
11
12 # urg
13 #(cd $(depth)/../debian/$(distname); \
14 #  ln -sf debian DEBIAN; )
15 # su -c 'dpkg-deb -b $(depth)/../debian/$(distname)'
16 # urg, why aren't there any decent manual pages for dpkg or rpm?
17 #       (cd $(depth)/../debian; \
18 #         rm -rf $(distname) $(distname).deb;\
19 #         tar xz -C $(depth)/../debian -f $(release-dir)/$(distname).tar.gz; \
20 #         cd $(distname);\
21 #         dpkg-buildpackage -b -rfakeroot; \
22 #       )
23
24 makeflags=$(patsubst %==, %, $(patsubst ---%,,$(patsubst ----%,,$(MAKEFLAGS:%=--%))))
25
26 diff:
27         $(PYTHON) $(step-bindir)/package-diff.py  --outdir=$(topdir)/$(outdir) --package=$(topdir) $(makeflags)
28         -ln -f $(depth)/$(outdir)/$(distname).diff.gz $(patch-dir)
29
30 release: 
31         $(PYTHON) $(step-bindir)/release.py --outdir=$(topdir)/$(outdir) --package=$(topdir)
32
33 # rpm: $(depth)/$(package-icon) dist
34 rpm: 
35         @echo The \"rpm\" target is deprecated.
36         @echo Please select the .spec appropriate for your distribution and run
37         @echo
38         @echo "  rpm -bb SPEC-FILE"
39         @echo 
40         @echo different SPEC-FILEs may be found in $(depth)/make/out/
41
42 #       su -c 'rpm -tb $(depth)/$(outdir)/$(distname).tar.gz'
43