diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-10-08 12:10:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-10-08 17:19:22 +0000 |
commit | 8893340b25a2b56c2155df67266b786a2dd6d282 (patch) | |
tree | ce27195c73b67b0b660c71f39e0fc2016b16e491 /Makefile | |
parent | Releasing debian version 20210101-2. (diff) | |
download | progress-linux-metapackages-8893340b25a2b56c2155df67266b786a2dd6d282.tar.xz progress-linux-metapackages-8893340b25a2b56c2155df67266b786a2dd6d282.zip |
Merging upstream version 20211008.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 18 insertions, 10 deletions
@@ -1,3 +1,5 @@ +# Progress Linux metapackages + # Copyright (C) 2010-2021 Daniel Baumann <daniel.baumann@progress-linux.org> # # SPDX-License-Identifier: GPL-3.0+ @@ -13,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# along with this program. If not, see <https://www.gnu.org/licenses/>. SHELL := sh -e @@ -21,11 +23,17 @@ PROJECT := progress-linux-metapackages all: build -clean: - @# empty +clean: clean-man -build: - @# empty +clean-man: + # clean man + $(MAKE) -C man clean + +build: build-man + +build-man: + # build man + $(MAKE) -C man build test: @# empty @@ -38,13 +46,13 @@ install-doc: cp *.txt $(DESTDIR)/usr/share/doc/$(PROJECT) install-man: - # install manpages + # install man for SECTION in $$(seq 1 8); \ do \ - if ls manpages/*.$${SECTION} > /dev/null 2>&1; \ + if ls man/*.$${SECTION} > /dev/null 2>&1; \ then \ mkdir -p $(DESTDIR)/usr/share/man/man$${SECTION}; \ - cp manpages/*.$${SECTION} $(DESTDIR)/usr/share/man/man$${SECTION}; \ + cp man/*.$${SECTION} $(DESTDIR)/usr/share/man/man$${SECTION}; \ fi; \ done @@ -55,10 +63,10 @@ uninstall-doc: rm -rf $(DESTDIR)/usr/share/doc/$(PROJECT) uninstall-man: - # uninstall manpages + # uninstall man for SECTION in $$(seq 1 8); \ do \ - for FILE in manpages/*.$${SECTION}; \ + for FILE in man/*.$${SECTION}; \ do \ rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${FILE}); \ done; \ |