diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2021-12-28 16:06:03 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-12-28 16:09:12 +0100 |
commit | 137a7607ecde0a8e85c1e58c40b0db89b268dd82 (patch) | |
tree | d24ebcddd643d2541dd8210fb979bc8e86fcf4a6 /package/network/utils/layerscape | |
parent | 92820cc5b995251e7eefe59dc586283a565f7c18 (diff) | |
download | upstream-137a7607ecde0a8e85c1e58c40b0db89b268dd82.tar.gz upstream-137a7607ecde0a8e85c1e58c40b0db89b268dd82.tar.bz2 upstream-137a7607ecde0a8e85c1e58c40b0db89b268dd82.zip |
layerscape: restool: Remove build of manpages
The build of the manpages needs the pandoc tool, this is not in the
minimal requirements of OpenWrt, just remove the build of the restool
manpage. This fixes the build on systems without pandoc like the OpenWrt build bots.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/network/utils/layerscape')
-rw-r--r-- | package/network/utils/layerscape/restool/patches/remove-manpage.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/network/utils/layerscape/restool/patches/remove-manpage.patch b/package/network/utils/layerscape/restool/patches/remove-manpage.patch new file mode 100644 index 0000000000..5cb9e0a55f --- /dev/null +++ b/package/network/utils/layerscape/restool/patches/remove-manpage.patch @@ -0,0 +1,18 @@ +--- a/Makefile ++++ b/Makefile +@@ -53,14 +53,13 @@ restool: $(OBJ) + %.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) \ |