Commit 665c17f508525f9e11079413a5bd2ffe27537268
1 parent
9e3259bf
Delete symbolic cscript links in uninstallation
Showing
1 changed file
with
4 additions
and
0 deletions
cscripts/Makefile.am
| ... | ... | @@ -196,6 +196,10 @@ clean-local: |
| 196 | 196 | # Uninstall the cscripts Python module |
| 197 | 197 | uninstall-local: |
| 198 | 198 | rm -rf $(DESTDIR)$(pyexecdir)/cscripts/*.pyc |
| 199 | + rm -rf $(DESTDIR)$(pyexecdir)/cscripts/*.pyc | |
| 199 | 200 | rm -rf $(DESTDIR)$(pyexecdir)/cscripts/__pycache__ |
| 200 | 201 | rm -rf $(DESTDIR)$(pyexecdir)/cscripts/tests/*.pyc |
| 201 | 202 | rm -rf $(DESTDIR)$(pyexecdir)/cscripts/tests/__pycache__ |
| 203 | + for p in $$linklist; do \ | |
| 204 | + rm -rf "$(DESTDIR)$(bindir)/$$p"; \ | |
| 205 | + done | ... | ... |