Skip to content

Commit 098888e

Browse files
committed
Makefile: add an uninstall rule
1 parent d8f0578 commit 098888e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ man: reflac.1
1616
reflac.1: reflac.adoc
1717
$(ASCIIDOC) reflac.adoc
1818

19+
clean:
20+
rm -f reflac.1
21+
1922
install: reflac.1
2023
install -Dm 755 reflac "$(target)/bin/reflac"
2124
install -Dm 644 reflac.1 "$(target)$(mandir)/man1/reflac.1"
2225

23-
clean:
24-
rm -f reflac.1
26+
uninstall:
27+
$(RM) "$(target)/bin/reflac"
28+
$(RM) "$(target)$(mandir)/man1/reflac.1"

NEWS.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
= reflac project news
22

3+
HEAD::
4+
* `Makefile` now has an `uninstall` rule, for those that aren’t
5+
using a package manager to install this.
6+
37
2.0.1 (2021-08-16)::
48
* Solve a minor edge-case: reflac will now find and recompress
59
hidden files.

0 commit comments

Comments
 (0)