Commit c87f6d40 authored by Vinicius Ruoso's avatar Vinicius Ruoso

Fixed autogen script to create the Makefile with _st names

Signed-off-by: default avatarVinicius Ruoso <vkr07@c3sl.ufpr.br>
parent 5e7dc22d
......@@ -61,14 +61,14 @@ while read LINE; do
LINKNAME=$(cut -d: -f3 <<< $LINE)
grep -q "#" <<< $NAME && continue
ls $NAME*.st &> /dev/null
ls $NAME*_st &> /dev/null
HS=$?
# the copy directive
makeprint "$NAME: checkprefix\n"
makeprint "\t@cp $NAME $NAME.po \$(PREFIX)/commands-available\n"
if test $HS = 0; then
makeprint "\t@cp $NAME*.st \$(PREFIX)/states-available\n\n"
makeprint "\t@cp $NAME*_st \$(PREFIX)/states-available\n\n"
else
makeprint "\n"
fi
......@@ -99,7 +99,7 @@ while read LINE; do
makeprint "$NAME-purge: $NAME-uninstall checkprefix-install\n"
makeprint "\t@rm -f \$(PREFIX)/commands-available/$NAME*\n"
if test $HS = 0; then
makeprint "\t@rm -f \$(PREFIX)/states-available/$NAME*.st\n\n"
makeprint "\t@rm -f \$(PREFIX)/states-available/$NAME*_st\n\n"
else
makeprint "\n"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment