man install fix

This commit is contained in:
2025-03-22 16:31:16 +01:00
parent b07369b5b0
commit 269488b60d
3 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,6 +1,7 @@
*~
*.o
*.gz
pcapmirror
debian/debhelper-build-stamp
debian/pcapmirror.substvars
*.gz
debian/files

View File

@@ -49,7 +49,7 @@ install: $(TARGET)
# Uninstall the executable
uninstall:
rm -f $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
rm -f $(TARGET).8 $(DESTDIR)$(PREFIX)/share/man/man8/$(TARGET).8
rm -f $(TARGET).8.gz $(DESTDIR)$(PREFIX)/share/man/man8/$(TARGET).8.gz
# Run the executable (example)
run: $(TARGET)

2
debian/install vendored
View File

@@ -1,2 +1,2 @@
pcapmirror /usr/bin
pcapmirror.8.gz /usr/share/man/man8/pcapmirror.8.gz
pcapmirror.8 /usr/share/man/man8