Summary: | ASTERISK-09851: uninstall removes non-Asterisk stuff | ||
Reporter: | Marcos Marado (mind booster noori) | Labels: | |
Date Opened: | 2007-07-10 10:36:24 | Date Closed: | 2007-07-11 13:06:17 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) uninstall_man.diff | |
Description: | From the Makefile: _uninstall: $(SUBDIRS_UNINSTALL) rm -f $(DESTDIR)$(MODULES_DIR)/* rm -f $(DESTDIR)$(ASTSBINDIR)/*asterisk* rm -f $(DESTDIR)$(ASTSBINDIR)/astgenkey rm -f $(DESTDIR)$(ASTSBINDIR)/autosupport rm -rf $(DESTDIR)$(ASTHEADERDIR) rm -rf $(DESTDIR)$(ASTDATADIR)/firmware rm -rf $(DESTDIR)$(ASTMANDIR)/man8 $(MAKE) -C sounds uninstall This means, that, with other stuff, this is removed: $(DESTDIR)$(ASTMANDIR)/man8 And, in any non-SunOS, ASTMANDIR=$(mandir). This means that uninstalling Asterisk removes all man8 files, and not only from Asterisk. | ||
Comments: | By: Jason Parker (jparker) 2007-07-10 10:59:30 I'm pondering the correct way to fix this. Clearly, removing ASTMANDIR is the wrong thing to do on most installs. By: Michiel van Baak (mvanbaak) 2007-07-10 11:11:47 uploaded patch against trunk to fix this. 1.4 checkout is running but my connection is slow. as soon as it's here the 1.4 patch will be uploaded By: Michiel van Baak (mvanbaak) 2007-07-10 11:17:15 the patch against trunk applies fine against 1.4. Have fun. By: Steve Murphy (murf) 2007-07-11 13:06:16 Many thanks to mvanbaak for his patch. I've applied to 1.4 in v.74642 and to trunk in v. 74648. |