summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-10-02 10:14:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-10-02 10:14:57 +0000
commit23b1eccaf390eeac5a504b264cf8cd5cf126727f (patch)
tree07d616779f5a670c03e69b05224e479ee697543a /Makefile
parentUsing rst to generate manpage. (diff)
downloadprogress-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--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b26eab5..4b9d64b 100644
--- a/Makefile
+++ b/Makefile
@@ -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; \