2021-12-28 15:06:03 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2024-09-09 10:32:56 +00:00
|
|
|
@@ -55,14 +55,13 @@ restool: $(OBJ)
|
2021-12-28 15:06:03 +00:00
|
|
|
%.1: %.md
|
|
|
|
pandoc --standalone --to man $^ -o $@
|
|
|
|
|
|
|
|
-install: restool scripts/ls-main scripts/ls-append-dpl scripts/ls-debug scripts/restool_completion.sh $(MANPAGE)
|
|
|
|
+install: restool scripts/ls-main scripts/ls-append-dpl scripts/ls-debug scripts/restool_completion.sh
|
|
|
|
install -D -m 755 restool $(DESTDIR)$(bindir)/restool
|
|
|
|
install -D -m 755 scripts/ls-main $(DESTDIR)$(bindir)/ls-main
|
|
|
|
install -D -m 755 scripts/ls-append-dpl $(DESTDIR)$(bindir)/ls-append-dpl
|
|
|
|
install -D -m 755 scripts/ls-debug $(DESTDIR)$(bindir)/ls-debug
|
|
|
|
$(foreach symlink, $(RESTOOL_SCRIPT_SYMLINKS), sh -c "cd $(DESTDIR)$(bindir) && ln -sf ls-main $(symlink)" ;)
|
|
|
|
install -D -m 755 scripts/restool_completion.sh $(DESTDIR)$(bindir_completion)/restool
|
|
|
|
- install -m 0644 -D $(MANPAGE) $(call get_manpage_destination,$(MANPAGE))
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJ) $(MANPAGE) \
|