From: buildmaster Date: Thu, 20 Sep 2018 07:12:50 +0000 (+0200) Subject: Adapt makefile and .gitignore X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=113a3bac7aad6e35d27afa66010ae73977165772;p=AdobeFlashPlayerNPAPI.git Adapt makefile and .gitignore --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01835b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oss-pkg-AdobeFlashPlayerNPAPI.spec diff --git a/Makefile b/Makefile index 601e3fa..f2ba05c 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,7 @@ NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) package: - cp ../template/packages.spec oss-pkg-$(PACKAGE).spec - sed -i s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec + sed s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec.in > oss-pkg-$(PACKAGE).spec sed -i s/RELEASE/$(NRELEASE)/g oss-pkg-$(PACKAGE).spec sed -i s/PACKAGE/$(PACKAGE)/g oss-pkg-$(PACKAGE).spec mkdir -p oss-pkg-$(PACKAGE) diff --git a/packages.spec.in b/oss-pkg-AdobeFlashPlayerNPAPI.spec.in similarity index 100% rename from packages.spec.in rename to oss-pkg-AdobeFlashPlayerNPAPI.spec.in