]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix "make clean" for out-of-tree autotools builds
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 13 Mar 2021 15:58:10 +0000 (16:58 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 13 Mar 2021 18:57:55 +0000 (19:57 +0100)
(cherry picked from commit 1239ef3d07d5d7748ccd3fae17820fdf105f1f9d)

Makefile.in

index ea1ef1d04316d534653539814aae2ded8ea9aa22..667b217c5d047eaf1ec709847532ec3fddb8f6b9 100644 (file)
@@ -436,7 +436,7 @@ lint:
            grep -v 'possible pointer alignment problem'
 
 clean:
-       rm -f $(CLEANFILES) $(PROG)-`cat VERSION`.tar.gz
+       rm -f $(CLEANFILES) $(PROG)-`cat ${srcdir}/VERSION`.tar.gz
 
 distclean:
        rm -f $(CLEANFILES) Makefile config.cache config.log config.status \