summaryrefslogtreecommitdiff
path: root/pkgthing/pkgthing.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pkgthing/pkgthing.mk')
-rw-r--r--pkgthing/pkgthing.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgthing/pkgthing.mk b/pkgthing/pkgthing.mk
new file mode 100644
index 0000000..29322b6
--- /dev/null
+++ b/pkgthing/pkgthing.mk
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+name = pkgthing
+ver = 2.9.0
+
+usage = Usage: make [-C /usr/src] TARGET
+email = LukeShu@sbcglobal.net
+
+datadir = /usr/src/local/pkgthing
+
+.PHONY: shorthelp help version
+shorthelp:
+ # $(name): please specify an action
+ # $(usage)
+ #
+ # Try `make -C /usr/src help' for more options
+
+help:
+ # $(name) $(ver), package thing(y) - THing Is Not GNU (yet?)
+ # $(usage)
+ #
+ # ...
+ #
+ # Mail bug reports and suggestions to <$(email)>
+
+version:
+ # $(name) $(ver)
+ #
+ # Copyright (C) 2009 Luke Shumaker, Inc.
+ # Licence GPLv2+: GNU GPL version 2 or later
+ # <http://www.gnu.org/licenses/gpl.html>.
+ # This is free software: you are free to change and redistribute it.
+ # There is NO WARRANTY, to the extent permitted by law.
+ #
+ # Originally written by Luke Shumaker <$(email)>
+
+#.PHONY: init $(addprefix init-,$(shell echo *.lst))
+init: $(addprefix init-,$(shell echo *.lst))
+
+init-%: %
+ # loading `$<'...
+ bash $(datadir)/init "$<"