Makefile
changeset 1031 bfec97f86dc3
parent 1026 865f28fee788
child 1032 9cf008356bdf
--- a/Makefile	Mon Dec 04 14:36:50 2023 +0200
+++ b/Makefile	Mon Dec 04 14:38:39 2023 +0200
@@ -78,7 +78,10 @@
 RST_FILES = $(wildcard *.rst)
 HTML_FILES = $(RST_FILES:.rst=.html)
 
+# Might include my credentials.
 TARBALL_MINI := skel-mini.tar.gz
+# Without personal info.
+TARBALL_MICRO := skel-micro.tar.gz
 
 ################################################################
 # Build targets.
@@ -98,6 +101,18 @@
 $(TARBALL_MINI): $(TARBALL_MINI_DEPS)
 	tar zcf $(TARBALL_MINI) $(TARBALL_MINI_DEPS)
 
+.PHONY: dist-micro
+dist-micro: $(TARBALL_MICRO)
+
+define TARBALL_MICRO_DEPS
+.bashrc .env.bash .bash_completion \
+.gitconfig \
+.inputrc .dircolors
+endef
+
+$(TARBALL_MICRO): $(TARBALL_MICRO_DEPS)
+	tar zcf $(TARBALL_MICRO) $(TARBALL_MICRO_DEPS)
+
 ################################################################
 # Install/uninstall targets.
 
@@ -107,6 +122,12 @@
 install-mini:
 	$(INSTALL_DATA) -t $(HOME) ${TARBALL_MINI_DEPS}
 
+# Without personal info.
+.PHONY: install-micro
+.ONESHELL:
+install-micro:
+	$(INSTALL_DATA) -t $(HOME) ${TARBALL_MICRO_DEPS}
+
 .PHONY: install
 .ONESHELL:
 install: