Last change
on this file since 181 was 180, checked in by kdeugau, 10 years ago |
/trunk
A couple of miscellaneous accumulated fixes:
- Fine-tune handling for dependency checking; provide some extra
feedback on what packages to install, and try harder to detect
virtual-package-vs-real-package.
- Drop an obsolete macro from the macro expander. Obsolete at least
so far as "it doesn't exist any more in CentOS 5"
|
-
Property svn:keywords
set to
Id
|
File size:
886 bytes
|
Rev | Line | |
---|
[141] | 1 | # quick makefile for debbuild
|
---|
| 2 | # $Id: Makefile 180 2015-05-28 01:44:09Z kdeugau $
|
---|
| 3 |
|
---|
| 4 | MANIFEST = \
|
---|
| 5 | debbuild Makefile COPYING debbuild.spec
|
---|
| 6 |
|
---|
| 7 | PKGNAME=debbuild
|
---|
[180] | 8 | VERSION=0.9.10
|
---|
[141] | 9 |
|
---|
| 10 | MANDIR=/usr/share/man
|
---|
| 11 | CONFDIR=/etc
|
---|
| 12 |
|
---|
| 13 | all:
|
---|
| 14 | # nothing to do
|
---|
| 15 |
|
---|
| 16 | install:
|
---|
| 17 | mkdir -p $(DESTDIR)/usr/bin
|
---|
| 18 | cp debbuild $(DESTDIR)/usr/bin
|
---|
| 19 |
|
---|
| 20 | mkdir -p $(DESTDIR)$(MANDIR)/man8
|
---|
| 21 | pod2man --center="DeepNet Dev Tools" --section 8 \
|
---|
[142] | 22 | debbuild | gzip > $(DESTDIR)$(MANDIR)/man8/debbuild.8.gz
|
---|
[141] | 23 |
|
---|
| 24 | dist:
|
---|
| 25 | mkdir $(PKGNAME)-$(VERSION)
|
---|
| 26 | tar cf - $(MANIFEST) | (cd $(PKGNAME)-$(VERSION); tar xvf -)
|
---|
| 27 | /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec
|
---|
[164] | 28 | /usr/bin/perl -p -e 's/[\d.]+"; #VERSION#/$(VERSION)";/' < debbuild > $(PKGNAME)-$(VERSION)/debbuild
|
---|
[141] | 29 | tar cvf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION)
|
---|
| 30 | gzip -v -f -9 $(PKGNAME)-$(VERSION).tar
|
---|
| 31 | rm -rf $(PKGNAME)-$(VERSION)
|
---|
[165] | 32 | gpg -a --detach-sign $(PKGNAME)-$(VERSION).tar.gz
|
---|
Note:
See
TracBrowser
for help on using the repository browser.