Makefile at [c0d502344a]

File server/buildpkgs/Makefile artifact 5257d3e48f part of check-in c0d502344a


all: tclpkgs-src-current.tar.gz

tclpkgs-src-current.tar.gz: tclpkgs-src-current
	tar -zcf tclpkgs-src-current.tar.gz tclpkgs-src-current
	rm -rf tclpkgs-src-current

tclpkgs-src-current: platform build_all.sh create_teapot */build.sh
	rm -rf tclpkgs-src-current
	mkdir tclpkgs-src-current
	cp -rp platform build_all.sh create_teapot tclpkgs-src-current/
	for dir in */; do \
		if test ! -f "$$dir/build.sh"; then continue; fi; \
		mkdir "tclpkgs-src-current/$$dir"; \
		cp "$$dir/build.sh" "tclpkgs-src-current/$$dir"; \
	done

clean:
	rm -f tclpkgs-*.tar.*
	rm -rf tclpkgs-src-current
	./build_all.sh clean

distclean: clean
	./build_all.sh distclean

.PHONY: all clean distclean