From a3149150e01055dfcec7108f1ccc25b266d5138b Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Mon, 2 May 2016 17:14:42 -0500 Subject: [PATCH] retire man pages that are way outdated and add html target for english man page --- Makefile | 15 ++------------- spectrwm_es.1 => outdated_man_pages/spectrwm_es.1 | 0 spectrwm_it.1 => outdated_man_pages/spectrwm_it.1 | 0 spectrwm_pt.1 => outdated_man_pages/spectrwm_pt.1 | 0 spectrwm_ru.1 => outdated_man_pages/spectrwm_ru.1 | 0 5 files changed, 2 insertions(+), 13 deletions(-) rename spectrwm_es.1 => outdated_man_pages/spectrwm_es.1 (100%) rename spectrwm_it.1 => outdated_man_pages/spectrwm_it.1 (100%) rename spectrwm_pt.1 => outdated_man_pages/spectrwm_pt.1 (100%) rename spectrwm_ru.1 => outdated_man_pages/spectrwm_ru.1 (100%) diff --git a/Makefile b/Makefile index 2a399c9..94955eb 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,6 @@ BINDIR=${PREFIX}/bin SUBDIR= lib PROG=spectrwm -#MAN=spectrwm_pt.1 spectrwm_ru.1 spectrwm_es.1 spectrwm_it.1 MAN=spectrwm.1 CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g @@ -21,23 +20,13 @@ CPPFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\" MANDIR= ${PREFIX}/man/man -#spectrwm_ru.cat1: spectrwm_ru.1 -# nroff -mandoc ${.CURDIR}/spectrwm_ru.1 > ${.TARGET} - obj: _xenocara_obj beforeinstall: ln -sf ${PROG} ${BINDIR}/scrotwm -# clang targets -.if ${.TARGETS:M*analyze*} -CC=clang -CXX=clang++ -CPP=clang -E -CFLAGS+=--analyze -.endif +spectrwm.html: spectrwm.1 + mandoc -Thtml ${.CURDIR}/spectrwm.1 > spectrwm.html -analyze: all -clang: all .include .include diff --git a/spectrwm_es.1 b/outdated_man_pages/spectrwm_es.1 similarity index 100% rename from spectrwm_es.1 rename to outdated_man_pages/spectrwm_es.1 diff --git a/spectrwm_it.1 b/outdated_man_pages/spectrwm_it.1 similarity index 100% rename from spectrwm_it.1 rename to outdated_man_pages/spectrwm_it.1 diff --git a/spectrwm_pt.1 b/outdated_man_pages/spectrwm_pt.1 similarity index 100% rename from spectrwm_pt.1 rename to outdated_man_pages/spectrwm_pt.1 diff --git a/spectrwm_ru.1 b/outdated_man_pages/spectrwm_ru.1 similarity index 100% rename from spectrwm_ru.1 rename to outdated_man_pages/spectrwm_ru.1 -- 2.39.2