summaryrefslogtreecommitdiff
path: root/config.status.dep.patch
blob: 871fd77305397460b14876bb7b6636e299e28330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- config.status.save	2006-10-09 22:28:47.000000000 +0200
+++ config.status	2006-10-09 22:29:34.000000000 +0200
@@ -1610,7 +1610,14 @@
    { (exit 1); exit 1; }; }; }
 
     # 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
  ;;