Compare commits
2 Commits
ebdf36d3c0
...
d4f0f15341
Author | SHA1 | Date | |
---|---|---|---|
d4f0f15341 | |||
962c54b8e0 |
14
Makefile
14
Makefile
@ -24,20 +24,22 @@ ifeq ($(PREFIX),)
|
|||||||
PREFIX := /usr/local
|
PREFIX := /usr/local
|
||||||
endif
|
endif
|
||||||
|
|
||||||
pacundo: pacundo.pl
|
|
||||||
pp -o $@ $^
|
|
||||||
|
|
||||||
pacundo.1.gz: pacundo.1
|
pacundo.1.gz: pacundo.1
|
||||||
gzip -c $^ > $@
|
gzip -c $^ > $@
|
||||||
|
|
||||||
.PHONY: install clean
|
.PHONY: clean doc install uninstall
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) pacundo
|
|
||||||
$(RM) pacundo.1.gz
|
$(RM) pacundo.1.gz
|
||||||
|
|
||||||
|
doc: pacundo.1.gz
|
||||||
|
|
||||||
install: pacundo pacundo.1.gz
|
install: pacundo pacundo.1.gz
|
||||||
install -d $(PREFIX)/bin
|
install -d $(PREFIX)/bin
|
||||||
install -m 755 pacundo $(PREFIX)/bin/
|
install -m 755 pacundo.pl $(PREFIX)/bin/pacundo
|
||||||
install -d $(PREFIX)/share/man/man1
|
install -d $(PREFIX)/share/man/man1
|
||||||
install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/
|
install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) $(PREFIX)/bin/pacundo
|
||||||
|
$(RM) $(PREFIX)/share/man/man1/pacundo.1.gz
|
||||||
|
@ -11,13 +11,12 @@ to boot from a USB depending on just how broken it is).
|
|||||||
|
|
||||||
- Perl 5
|
- Perl 5
|
||||||
- `File::ReadBackwards` module
|
- `File::ReadBackwards` module
|
||||||
- PAR Packager (for compiling)
|
|
||||||
- GNU Makefile
|
- GNU Makefile
|
||||||
|
|
||||||
You can install these packages with the following command:
|
You can install these packages with the following command:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
# pacman -S perl perl-file-readbackwards perl-par-packer
|
# pacman -S perl perl-file-readbackwards
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compiling & Installing
|
### Compiling & Installing
|
||||||
|
Loading…
Reference in New Issue
Block a user