From ffe461224d525e157beb3b6fe2ff24213ca476f2 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Fri, 24 Dec 2021 21:07:37 -0500 Subject: Cleanup unused parts of makefile (#230) --- Makefile.in | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/Makefile.in b/Makefile.in index 8b1da62..867e9d6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -10,26 +10,17 @@ .NOTPARALLEL: INSTALL = @INSTALL@ -INSTALL_PROG = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -SED = @SED@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -datadir = @datadir@ docdir = @docdir@ -sysconfdir = @sysconfdir@ -datarootdir = @datarootdir@ mandir = @mandir@ srcdir = @srcdir@ -VPATH = @srcdir@ +# unused setting, but keeping it to avoid warning when running ./configure +datarootdir = @datarootdir@ ASCIIDOCVERSION = @PACKAGE_VERSION@ ASCIIDOCDATE = @PACKAGE_DATE@ -ASCIIDOCCONF = $(sysconfdir)/asciidoc manp = $(patsubst %1.txt,%1,$(wildcard doc/*.1.txt)) manpdir = $(mandir)/man1 @@ -71,19 +62,18 @@ DOC_FILES = CHANGELOG.adoc README.asciidoc BUGS.adoc INSTALL.adoc doc/a2x.1.txt doc/epub-notes.txt doc/publishing-ebooks-with-asciidoc.txt \ doc/source-highlight-filter.txt doc/slidy.txt doc/slidy-example.txt -## spell: run doc_spell and website_spell +## spell: run aspell over all files under doc/ .PHONY: spell -spell: doc_spell website_spell - - -## doc_spell: run aspell over all files under doc/ -.PHONY: doc_spell -doc_spell: +spell: @for f in $(DOC_FILES); do \ echo "aspell check -p ./doc/asciidoc.dict $$f"; \ aspell check -p ./doc/asciidoc.dict $$f; \ done +## doc_spell: (deprecated) runs spell target +.PHONY: doc_spell +doc_spell: spell + ##. .PHONY: pip @@ -123,7 +113,6 @@ uninstall: rm -f $(DESTDIR)$(manpdir)/asciidoc.1 rm -f $(DESTDIR)$(manpdir)/testasciidoc.1 rm -f $(DESTDIR)$(manpdir)/a2x.1 - rm -rf $(DESTDIR)$(confdir) rm -rf $(DESTDIR)$(docdir) ## clean: delete built asciidoc doc files -- cgit v1.2.1