From 4e6d5acba254aa965a636572bce8a65b04dffe0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 27 Oct 2009 15:14:22 +0200 Subject: [PATCH] Initial version of Makefile. Used for creating tar archive of modules. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6216ef8 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ + +MODULES = $(shell find . -maxdepth 1 -mindepth 1 -type d) + +all: puppet-modules.tar.gz + +puppet-modules.tar.gz: $(MODULES) + umask 022 ; tar zcvf $@ --owner=root --group=root \ + --mode g-w,o=g $^