Dzahn has uploaded a new change for review. https://gerrit.wikimedia.org/r/289351
Change subject: rm files/misc/scripts/Makefile ...................................................................... rm files/misc/scripts/Makefile This file has been added back in 2012, but i'm wondering if anything actually uses it nowadays. It's not used by a puppet class, but was added for convenience it seems. I am just looking at it to see if it can be moved out of files/misc/ into a module (lint warning "puppet URL without module" etc) hashar, since you added this. any thoughts? Change-Id: If88ebfbfce44f8d5275daf61370a07e150a4ca39 --- D files/misc/scripts/Makefile 1 file changed, 0 insertions(+), 53 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/51/289351/1 diff --git a/files/misc/scripts/Makefile b/files/misc/scripts/Makefile deleted file mode 100644 index 39a7590..0000000 --- a/files/misc/scripts/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# Makefile heavily based on the git project /Documentation/Makefile - -# AsciiDoc toolchain manager -A2X=a2x -A2X_EXTRA= - -ASCIIDOCS_DIR=asciidoc -OUT_DIR=man - -RM ?= rm -f -#SHELL += -x - -# List source files per sections -# Ignore any asciidoc file not begining with a letter such as _ -MAN1_TXT= $(filter-out _%.txt,$(wildcard $(ASCIIDOCS_DIR)/[a-zA-Z]*.txt)) - -# man files -DOC_MAN1=$(patsubst $(ASCIIDOCS_DIR)/%.txt,$(OUT_DIR)/%.1,$(MAN1_TXT)) -DOC_MAN=$(DOC_MAN1) - -ifdef VERBOSE -A2X_EXTRA += --verbose -endif - -all: man - -clean: ; $(RM) $(OUT_DIR)/*.1 - -clean-all: clean all - -man: prechecks $(DOC_MAN) - -# Conversion rule -$(OUT_DIR)/%.1 : $(ASCIIDOCS_DIR)/%.txt - @if test -s $<; then \ - echo "Converting '$<' to '$@'"; \ - $(A2X) $(A2X_EXTRA) --destination-dir $(OUT_DIR) --doctype manpage --format manpage $<; fi - -prechecks: has_a2x - @echo "DOCMAN $(DOC_MAN)" - @echo "ASCIIDOCS_DIR: $(ASCIIDOCS_DIR)" - -has_a2x: - @echo "Checking if we have '$(A2X)'...\c" -ifeq ("$(shell which $(A2X))","") - @echo "no" - @echo "\nRequires Asciidoc ($(A2X) not found). See README.\n" \ - && exit 1 -else - @echo "ok" -endif - - -- To view, visit https://gerrit.wikimedia.org/r/289351 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If88ebfbfce44f8d5275daf61370a07e150a4ca39 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits