aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-06-28 23:08:01 +0200
committerLoïc Hoguin <[email protected]>2015-06-28 23:12:10 +0200
commit857f595ed5293a9dae42ef64062461ee35547663 (patch)
tree27b3fd1690f1141ef51c89ec0507762e2976ae3e /Makefile
parent9a2dd5dfb20b2b5dbb08d9441a184815b5337cbe (diff)
downloaderlang.mk-857f595ed5293a9dae42ef64062461ee35547663.tar.gz
erlang.mk-857f595ed5293a9dae42ef64062461ee35547663.tar.bz2
erlang.mk-857f595ed5293a9dae42ef64062461ee35547663.zip
Bundle the package index directly inside erlang.mk
If you were using the index file as a "lock file", bear with me for a moment, equivalent functionality will soon be added. :-)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 543eafa..9e71e35 100644
--- a/Makefile
+++ b/Makefile
@@ -20,14 +20,10 @@ ERLANG_MK_VERSION = $(shell git describe --tags --dirty)
.PHONY: all check
-all: pkg
+all:
awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) \
| sed 's/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = $(ERLANG_MK_VERSION)/' > $(ERLANG_MK)
-pkg:
- cat packages.v2.tsv | awk 'BEGIN { FS = "\t" }; { print $$1 "\t" $$3 "\t" $$5 "\t" $$6 }' > packages.v1.tsv
- cp packages.v1.tsv packages.v1.txt
-
ifeq ($(p),)
check:
$(MAKE) -C test