3 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
ebdf36d3c0 Update description to include "rollback" keyword.
This is the keyword that I assume most people use when looking for this
sort of a tool. Should be helpful.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-05-22 17:14:30 +02:00
4 changed files with 11 additions and 10 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

View File

@ -1,6 +1,6 @@
.TH PACUNDO "1" "April 2024" "pacundo 1.0.1" "User Commands"
.SH "NAME"
pacundo - A time machine to return your ArchLinux machine back to a working state.
pacundo - A time machine to roll back your ArchLinux machine to a working state.
.SH "SYNOPSIS"
.B pacundo
[\fI\-i\fR|\fI\-r\fR] [\fI\-t\fR <\fInum\fR>] [\fI\-d\fR]

View File

@ -39,7 +39,7 @@ sub print_version() {
sub print_help() {
&print_version();
print("A time machine to return your ArchLinux machine back to a working state.
print("A time machine to roll back your ArchLinux machine to a working state.
USAGE:
$PROG_NAME [-i|-r] [-t <num>] [-d]