Changeset 4043


Ignore:
Timestamp:
Nov 26, 2009, 2:19:08 AM (10 years ago)
Author:
Sam Hocevar
Message:

Cleaner solution for echoing the SOURCES variable.

Location:
zzuf/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/Makefile.am

    r3951 r4043  
    2121libzzuf_la_LIBADD = $(GETOPT_LIBS) $(DL_LIBS) $(MATH_LIBS) $(WINSOCK2_LIBS)
    2222
     23echo-sources: ; echo $(SOURCES)
     24
  • zzuf/trunk/test/Makefile.am

    r3971 r4043  
    77        check-rng check-utils
    88
     9echo-sources: ; echo $(SOURCES)
     10
  • zzuf/trunk/test/check-build

    r4003 r4043  
    3030for dir in src test; do
    3131  pushd ../$dir >/dev/null
    32   # Dirty hack to print the $(SOURCES) variable
    33   for x in $(make -s ID SHELL='echo @@$(SOURCES)@@' | tr -d '\n' | sed 's/.*@@\([^@]*\)@@.*/\1/');
    34   do
     32  for x in $(make echo-sources); do
    3533    if grep '[[:space:]]$' "$x" >/dev/null 2>&1; then
    3634      echo "error: $dir/$x contains trailing spaces"
Note: See TracChangeset for help on using the changeset viewer.