kiss-mfavila-small/testing/yash/build

23 lines
878 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
2021-06-06 18:36:04 -04:00
# Credit to kqz for this.
# Remove gettext. Should allow for kiss compat.
sed -i '/ @+(cd po && $(MAKE))/d' Makefile.in
sed -i '/ @+if $(enable_nls); then (cd po && $(MAKE) $@); fi/d' Makefile.in
sed -i '/ @+if $(enable_nls); then (cd po && $(MAKE) $@); fi/d' Makefile.in
sed -i '/ @+if $(enable_nls); then (cd po && $(MAKE) $@); fi/d' Makefile.in
sed -i '/ @+(cd po && $(MAKE) update-po) # must be done first/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) mostlyclean)/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) clean)/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) distclean)/d' Makefile.in
sed -i '/ -@+(cd po && $(MAKE) maintainer-clean)/d' Makefile.in
./configure \
--prefix=/usr \
--disable-nls \
2021-05-09 02:10:08 -04:00
make
make DESTDIR="$1" install
2021-06-06 18:36:04 -04:00
ln -s yash "$1/usr/bin/sh"