diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-01-06 14:47:25 +0100 |
---|---|---|
committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-01-06 14:47:25 +0100 |
commit | fbaad72d3b4f65b2b06d965d060f87fd17ac6411 (patch) | |
tree | 0ec40efab1c63b1be87db519308ec9f6a6feb8c1 | |
parent | c06931f6726ada9bebc6f69e0d83c02cbf0bef94 (diff) | |
download | vdr-plugin-inputdev-fbaad72d3b4f65b2b06d965d060f87fd17ac6411.tar.gz vdr-plugin-inputdev-fbaad72d3b4f65b2b06d965d060f87fd17ac6411.tar.bz2 |
makefile: generate gpg signatures
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -6,6 +6,7 @@ VERSION = 0.0.1 CXX ?= $(CC) TAR ?= tar XZ ?= xz +GPG ?= gpg GZIP ?= gzip MSGFMT ?= msgfmt MSGMERGE ?= msgmerge @@ -141,13 +142,18 @@ libvdr-$(PLUGIN).so: $(plugin_OBJS) $(CXX) $(AM_LDFLAGS) $(LDFLAGS) $(LDFLAGS_$@) -shared -o $@ $^ $(LIBS) @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) -dist: $(PACKAGE).xz $(PACKAGE).gz +_packages = $(addprefix $(PACKAGE),.xz .gz) + +dist: $(_packages) $(addsuffix .asc,$(_packages)) _tar_transform = --transform='s!^!$(ARCHIVE)/!' $(PACKAGE): $(I18Npo) $(_all_sources) $(TAR) cf $@ $(TAR_FLAGS) $(_tar_transform) $(sort $^) +%.asc: % + $(GPG) --detach-sign --armor --output $@ $< + clean: @rm -f $(OBJS) libvdr*.so libvdr*.so.* *.d *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot @rm -f vdr-inputdev |