Poor man's XPath library https://pagure.io/shellfu-bash-pxpath

123456789101112131415
  1. #!/usr/bin/make -f
  2. %:
  3. dh $@
  4. override_dh_auto_install:
  5. make install PREFIX=/usr DESTDIR=debian/tmp
  6. override_dh_auto_test:
  7. make install PREFIX=/usr DESTDIR=debian/tmp
  8. make test \
  9. SHELLFU_PATH=$(shell pwd)/debian/tmp/usr/share/shellfu/include-bash \
  10. _PXPATH__BIN=$(shell pwd)/debian/tmp/usr/libexec/shellfu-bash-pxpath/pxpath