diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-02 10:14:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-02 10:14:57 +0000 |
commit | 23b1eccaf390eeac5a504b264cf8cd5cf126727f (patch) | |
tree | 07d616779f5a670c03e69b05224e479ee697543a /Makefile | |
parent | Using rst to generate manpage. (diff) | |
download | progress-linux-metapackages-23b1eccaf390eeac5a504b264cf8cd5cf126727f.tar.xz progress-linux-metapackages-23b1eccaf390eeac5a504b264cf8cd5cf126727f.zip |
Consistently renaming manpages files and sub-directory to man.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -38,13 +38,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 +55,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; \ |