Compare commits
3 Commits
v1.0.1
...
d4f0f15341
Author | SHA1 | Date | |
---|---|---|---|
d4f0f15341 | |||
962c54b8e0 | |||
ebdf36d3c0 |
14
Makefile
14
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
Reference in New Issue
Block a user