"make clean" adds requirement on SWIG for tarballs #183

Closed
opened 2026-10-05 04:03:05 +02:00 by adam · 3 comments
Owner

Because it deletes swig-generated files, which were not generated locally, but unpacked from tarball.

Because it deletes swig-generated files, which were not generated locally, but unpacked from tarball. <!-- github-sync-id:9702595 -->
adam closed this issue 2026-10-05 04:03:05 +02:00
Author
Owner

Kinda fixed in ed478e6f7b:

Author: Uli Schlachter @psychon
Date: Tue May 7 21:29:11 2013 +0200

make clean: Only delete files that can be regenerated

Previously, "make clean" would happily delete swig's output files even though
configure did not find swig and thus these files could not be generated again.

This half-fixes issue 276. It would be great if the Makefiles never delete files
which are part of the tarball, but at least they now don't delete files which
cannot be regenerated.
Kinda fixed in ed478e6f7b384f32252e143476814dead3e3707c: Author: Uli Schlachter @psychon Date: Tue May 7 21:29:11 2013 +0200 ``` make clean: Only delete files that can be regenerated Previously, "make clean" would happily delete swig's output files even though configure did not find swig and thus these files could not be generated again. This half-fixes issue 276. It would be great if the Makefiles never delete files which are part of the tarball, but at least they now don't delete files which cannot be regenerated. ``` <!-- github-comment-id:18572996 -->
Author
Owner

Debian just stumbled on this issue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712254

Debian just stumbled on this issue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712254 <!-- github-comment-id:19464971 -->
Author
Owner

This was accidentally fixed in #1232

This was accidentally fixed in #1232 <!-- github-comment-id:172977474 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#183