summaryrefslogtreecommitdiff
path: root/include/package.mk
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2009-05-31 12:01:05 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2009-05-31 12:01:05 +0000
commit6f297036252df477192eddf95728c9933df4d7db (patch)
tree27eef3b1d67d7610f8a76ebfe896a5252144893c /include/package.mk
parent3dc92527a315a06fadb8766c8891f67400976f08 (diff)
downloadmtk-20170518-6f297036252df477192eddf95728c9933df4d7db.zip
mtk-20170518-6f297036252df477192eddf95728c9933df4d7db.tar.gz
mtk-20170518-6f297036252df477192eddf95728c9933df4d7db.tar.bz2
add dist and distcheck target (to create new source balls)
SVN-Revision: 16230
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index a351661..2280865 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -141,6 +141,8 @@ define Build/DefaultTargets
prepare: $(STAMP_PREPARED)
configure: $(STAMP_CONFIGURED)
+ dist: $(STAMP_CONFIGURED)
+ distcheck: $(STAMP_CONFIGURED)
endef
define BuildPackage
@@ -189,6 +191,8 @@ Build/Prepare=$(call Build/Prepare/Default,)
Build/Configure=$(call Build/Configure/Default,)
Build/Compile=$(call Build/Compile/Default,)
Build/Install=$(if $(PKG_INSTALL),$(call Build/Install/Default,))
+Build/Dist=$(call Build/Dist/Default,)
+Build/DistCheck=$(call Build/DistCheck/Default,)
$(PACKAGE_DIR):
mkdir -p $@
@@ -213,3 +217,9 @@ clean: clean-staging FORCE
$(Build/Clean)
rm -f $(STAGING_DIR)/packages/$(PKG_NAME).list $(STAGING_DIR_HOST)/packages/$(PKG_NAME).list
rm -rf $(PKG_BUILD_DIR)
+
+dist:
+ $(Build/Dist)
+
+distcheck:
+ $(Build/DistCheck)