jordansissel / fex

fex - flexible field/token extraction
Other
57 stars 9 forks source link

Install needs docs but doesn't build them #13 #14

Closed shysteph closed 2 years ago

shysteph commented 2 years ago

Update dependencies in Makefile Add a .gitignore with built files Update README with some help

jordansissel commented 2 years ago

Forgot to attach testing results -- 'clean install' working now where previously it would fail due to missing 'fex.1'

% make clean install PREFIX=/tmp/z
rm -f fex *.o */*.o fex_version.h fex.spec fex.1 
sh version.sh --header > fex_version.h
cc `sh need_snprintf.sh > /dev/null && echo "-DNEED_SNPRINTF_2_2"` -g -Wall -std=c99 fex.c -c -o fex.o
cc -g -Wall -std=c99 fex.o `sh need_snprintf.sh` -o fex
pod2man -c "" -r "" fex.pod > fex.1
install -d /tmp/z/bin
install -m 755 fex /tmp/z/bin/
install -d /tmp/z/share/man
install -d /tmp/z/share/man/man1
install fex.1 /tmp/z/share/man/man1/
jordansissel commented 2 years ago

@shysteph Thank you :)