Changeset 245 for trunk


Ignore:
Timestamp:
Aug 29, 2009, 1:45:44 PM (15 years ago)
Author:
katerina
Message:

Patch submitted by Seph to add a build number, and define package maintainer without a gpg key (ticket #165).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r230 r245  
    6464PACKAGE = @PACKAGE@
    6565VERSION = @VERSION@
     66BUILD_NUM = 1
     67
     68DEFAULT_MAINTAINER = Nobody Nowhere <nobody@example.com>
    6669
    6770VFLAG    = @mytclient@
     
    846849        @maintainer=`gpg --list-secret-keys | grep 'uid ' | cut -d" " -f 5- | sed 's/^ *//' | sed q1`;\
    847850        if test "x$$maintainer" = x; then \
    848                 maintainer="Nobody Nowhere <nobody@example.com>"; \
    849         fi; \
    850         echo "$(PACKAGE) ($(VERSION)-1) stable; urgency=low" > debian/changelog; \
     851                maintainer="$(DEFAULT_MAINTAINER)"; \
     852        fi; \
     853        echo "$(PACKAGE) ($(VERSION)-$(BUILD_NUM)) stable; urgency=low" > debian/changelog; \
    851854        echo >> debian/changelog; \
    852855        echo "  * Initial release." >> debian/changelog; \
     
    898901        else \
    899902          echo "Package $$DEBFILE built."; \
    900           cp $$DEBFILE ./$(PACKAGE)-$(VERSION).deb; \
     903          cp $$DEBFILE ./$(PACKAGE)-$(VERSION)-$(BUILD_NUM).deb; \
    901904        fi; \
    902905        echo
Note: See TracChangeset for help on using the changeset viewer.