Compare commits

...

2 Commits

Author SHA1 Message Date
d4f0f15341 Add uninstall target for Makefile. 2024-05-25 18:01:37 +02:00
962c54b8e0 Remove perl compiling.
This is giving some weird outputs when I try running it after making the
ArchLinux package (see AUR pacundo).
2024-05-25 17:58:51 +02:00
2 changed files with 9 additions and 8 deletions

View File

@ -24,20 +24,22 @@ ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
pacundo: pacundo.pl
pp -o $@ $^
pacundo.1.gz: pacundo.1
gzip -c $^ > $@
.PHONY: install clean
.PHONY: clean doc install uninstall
clean:
$(RM) pacundo
$(RM) pacundo.1.gz
doc: pacundo.1.gz
install: pacundo pacundo.1.gz
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 -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/
uninstall:
$(RM) $(PREFIX)/bin/pacundo
$(RM) $(PREFIX)/share/man/man1/pacundo.1.gz

View File

@ -11,13 +11,12 @@ to boot from a USB depending on just how broken it is).
- Perl 5
- `File::ReadBackwards` module
- PAR Packager (for compiling)
- GNU Makefile
You can install these packages with the following command:
```console
# pacman -S perl perl-file-readbackwards perl-par-packer
# pacman -S perl perl-file-readbackwards
```
### Compiling & Installing