1 # stepmake/Package.make
4 $(MAKE) -C $(depth)/debian
7 #(cd $(depth)/../debian/$(distname); \
8 # ln -sf debian DEBIAN; )
9 # su -c 'dpkg-deb -b $(depth)/../debian/$(distname)'
10 # urg, why aren't there any decent manual pages for dpkg or rpm?
11 (cd $(depth)/../debian; \
12 rm -rf $(distname) $(distname).deb;\
13 tar xz -C $(depth)/../debian -f $(release-dir)/$(distname).tar.gz; \
15 dpkg-buildpackage -b -rfakeroot; \
18 makeflags=$(patsubst %==, %, $(patsubst ---%,,$(patsubst ----%,,$(MAKEFLAGS:%=--%))))
21 $(PYTHON) $(step-bindir)/package-diff.py --outdir=$(topdir)/$(outdir) --package=$(topdir) $(makeflags)
22 -ln -f $(depth)/$(outdir)/$(distname).diff.gz $(patch-dir)
25 $(PYTHON) $(step-bindir)/release.py --outdir=$(topdir)/$(outdir) --package=$(topdir)
27 # rpm: $(depth)/$(package-icon) dist
29 @echo The \"rpm\" target is deprecated.
30 @echo Please select the .spec appropriate for your distribution and run
32 @echo " rpm -bb SPEC-FILE"
34 @echo different SPEC-FILEs may be found in $(depth)/make/out/
36 # su -c 'rpm -tb $(depth)/$(outdir)/$(distname).tar.gz'