summaryrefslogtreecommitdiff
path: root/config.status.dep.patch
blob: 868737bdf77c30e8b50df2a33ceb63eb3bfece41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- config.status	2009-10-26 23:57:14.000000000 +0100
+++ config.status.new	2009-10-27 00:04:26.000000000 +0100
@@ -1553,7 +1553,14 @@
 	  s/.*/./; q'`
       as_dir=$dirpart/$fdir; as_fn_mkdir_p
       # echo "creating $dirpart/$file"
-      echo '# dummy' > "$dirpart/$file"
+      # Try to guess what file this dependency file is from...
+      f=$srcdir/`dirname "$fdir"`/`basename "$file" .Po | sed s/lib[^-]\*-//`
+      for f in "$f"*; do
+        case $f in
+	  *.c | *.S) echo "$f"': $(filter-out $(DIST_SOURCES),$(SOURCES))';;
+	  *) echo '# dummy';;
+        esac
+      done > "$dirpart/$file"
     done
   done
 }