diff options
author | Guillem Jover <guillem@hadrons.org> | 2008-07-09 09:25:34 +0300 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2008-07-09 09:25:34 +0300 |
commit | ba7ece7791d2617de8693a877b517260c51f5dc7 (patch) | |
tree | 6d0f7297167fd3d79768e324c4d9cee3484d6ff0 | |
parent | 84d311d03872a1c18305abe8218c0a3d3f5434d2 (diff) | |
download | libbsd-ba7ece7791d2617de8693a877b517260c51f5dc7.tar.gz |
Create an armored detached signature on 'make dist'
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,7 @@ LIB_VERSION_MAJOR = 0 LIB_VERSION_MINOR = 0 TAR_NAME = $(LIB_NAME)-$(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR) +TAR_FILE := $(TAR_NAME).tar.gz LIB_DIST := Makefile Versions libbsd.pc @@ -72,8 +73,9 @@ $(LIB_SHARED): $(LIB_SHARED_OBJS) dist: clean mkdir $(TAR_NAME) cp -a include src man $(LIB_DIST) $(TAR_NAME) - tar czf $(TAR_NAME).tar.gz $(TAR_NAME) + tar czf $(TAR_FILE) $(TAR_NAME) rm -rf $(TAR_NAME) + gpg -a -b $(TAR_FILE) install: libs man mkdir -p $(DESTDIR)/usr/lib/ $(DESTDIR)/lib/ |