commit f99628063ba1c7648e548e4c2a93973f21d7c5bd
parent c527bd5aa2466abd6a6a02958c42c5158c9dd364
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 16 May 2025 17:14:32 +0200
Add manual pages to install/uninstall targets
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -119,6 +119,8 @@ install: library util pkg
install 644 "$(DESTDIR)$(LIBPREFIX)/pkgconfig" smeteo.pc; \
install 644 "$(DESTDIR)$(INCPREFIX)/star" src/smeteo.h; \
install 755 "$(DESTDIR)$(BINPREFIX)/" smeteo; \
+ install 644 "$(DESTDIR)$(MANPREFIX)/man1" doc/smeteo.1; \
+ install 644 "$(DESTDIR)$(MANPREFIX)/man5" doc/smeteo.5; \
install 644 "$(DESTDIR)$(PREFIX)/share/doc/star-meteo" COPYING README.md
uninstall:
@@ -126,6 +128,8 @@ uninstall:
rm -f "$(DESTDIR)$(LIBPREFIX)/pkgconfig/smeteo.pc"
rm -f "$(DESTDIR)$(INCPREFIX)/star/smeteo.h"
rm -f "$(DESTDIR)$(BINPREFIX)/smeteo"
+ rm -f "$(DESTDIR)$(MANPREFIX)/man1/smeteo.1"
+ rm -f "$(DESTDIR)$(MANPREFIX)/man5/smeteo.5"
rm -f "$(DESTDIR)$(PREFIX)/share/doc/star-meteo/COPYING"
rm -f "$(DESTDIR)$(PREFIX)/share/doc/star-meteo/README.md"