summaryrefslogtreecommitdiffstats
path: root/package/thttpd/thttpd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/thttpd/thttpd.mk')
-rw-r--r--package/thttpd/thttpd.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/thttpd/thttpd.mk b/package/thttpd/thttpd.mk
index fe25bb5c0..f4db49110 100644
--- a/package/thttpd/thttpd.mk
+++ b/package/thttpd/thttpd.mk
@@ -16,6 +16,8 @@ THTTPD_WEB_DIR:=$(THTTPD_ROOT)/www
$(DL_DIR)/$(THTTPD_SOURCE):
$(WGET) -P $(DL_DIR) $(THTTPD_SITE)/$(THTTPD_SOURCE)
+thttpd-source: $(DL_DIR)/$(THTTPD_SOURCE)
+
$(THTTPD_DIR)/.unpacked: $(DL_DIR)/$(THTTPD_SOURCE)
$(THTTPD_CAT) $(DL_DIR)/$(THTTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(THTTPD_DIR)/.unpacked