Commit 731544cd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Silent rule for vlc_about.h

parent 53282ce8
...@@ -128,22 +128,21 @@ noinst_HEADERS = \ ...@@ -128,22 +128,21 @@ noinst_HEADERS = \
$(NULL) $(NULL)
../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS ../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
rm -f -- "$@.tmp" $(AM_V_at)rm -f -- "$@.tmp"
mkdir -p -- ../include $(AM_V_at)mkdir -p -- ../include
echo "/* Automatically generated file - DO NOT EDIT */" > "$@.tmp" $(AM_V_GEN)(echo "/* Automatically generated file - DO NOT EDIT */" && \
echo "static const char psz_license[] =" >> "$@.tmp" echo "static const char psz_license[] =" && \
sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" >> "$@.tmp" sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" && \
echo ";" >> "$@.tmp" echo ";" && \
echo "static const char psz_thanks[] =" >> "$@.tmp" echo "static const char psz_thanks[] =" && \
sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \ sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \
"$(top_srcdir)/THANKS" >> "$@.tmp" "$(top_srcdir)/THANKS" && \
echo ";" >> "$@.tmp" echo ";" && \
echo "static const char psz_authors[] =" >> "$@.tmp" echo "static const char psz_authors[] =" && \
sed -n '/^N: /{;s///;s/"/\\"/g;s/^.*$$/\"&\\n\"/;p;}' \ sed -n '/^N: /{;s///;s/"/\\"/g;s/^.*$$/\"&\\n\"/;p;}' \
"$(top_srcdir)/AUTHORS" >> "$@.tmp" "$(top_srcdir)/AUTHORS" && \
echo ";" >> "$@.tmp" echo ";") >> "$@.tmp"
$(AM_V_at)mv -f -- "$@.tmp" "$@"
mv -f -- "$@.tmp" "$@"
############################################################################### ###############################################################################
# pkg-config integration # pkg-config integration
......
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