Fix uninstall for MingW (Issue #336)

This commit is contained in:
Michael R Sweet 2025-01-19 11:20:58 -05:00
parent b44e7de7da
commit 10898543b3
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
4 changed files with 19 additions and 6 deletions

View File

@ -3,7 +3,7 @@
#
# https://www.msweet.org/mxml
#
# Copyright © 2003-2024 by Michael R Sweet.
# Copyright © 2003-2025 by Michael R Sweet.
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
@ -175,9 +175,14 @@ all: $(TARGETS)
clean:
echo Cleaning build files...
$(RM) $(OBJS) $(ALLTARGETS)
$(RM) mxml4.dll
$(RM) mxml4.lib
$(RM) libmxml.a
$(RM) libmxml.dll
$(RM) libmxml.so
$(RM) libmxml.so.2
$(RM) libmxml.2.dylib
$(RM) libmxml.dylib
$(RM) libmxml4.a
$(RM) libmxml4.dll
$(RM) libmxml4.so
$(RM) libmxml4.so.2
$(RM) libmxml4.2.dylib
@ -299,6 +304,10 @@ uninstall-libmxml.a:
echo Uninstalling libmxml.a from $(BUILDROOT)$(libdir)...
$(RM) $(BUILDROOT)$(libdir)/libmxml.a
uninstall-libmxml.dll:
echo Uninstalling libmxml.dll from $(BUILDROOT)$(bindir)...
$(RM) $(BUILDROOT)$(bindir)/libmxml.dll
uninstall-libmxml.so.2:
echo Uninstalling libmxml.so from $(BUILDROOT)$(libdir)...
$(RM) $(BUILDROOT)$(libdir)/libmxml.so
@ -314,6 +323,10 @@ uninstall-libmxml4.a:
echo Uninstalling libmxml4.a from $(BUILDROOT)$(libdir)...
$(RM) $(BUILDROOT)$(libdir)/libmxml4.a
uninstall-libmxml4.dll:
echo Uninstalling libmxml4.dll from $(BUILDROOT)$(bindir)...
$(RM) $(BUILDROOT)$(bindir)/libmxml4.dll
uninstall-libmxml4.so.2:
echo Uninstalling libmxml4.so from $(BUILDROOT)$(libdir)...
$(RM) $(BUILDROOT)$(libdir)/libmxml4.so

View File

@ -1,7 +1,7 @@
---
title: Mini-XML 4.0 Programming Manual
author: Michael R Sweet
copyright: Copyright © 2003-2024, All Rights Reserved.
copyright: Copyright © 2003-2025, All Rights Reserved.
version: 4.0
...

View File

@ -13,7 +13,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Small XML File Parsing Library</description>
<summary>Mini-XML is a small XML parsing library that you can use to read XML data files or strings in your application without requiring large non-standard libraries.</summary>
<copyright>Copyright © 2003-2024 by Michael R Sweet</copyright>
<copyright>Copyright © 2003-2025 by Michael R Sweet</copyright>
<tags>xml</tags>
<dependencies>
<dependency id="libmxml4_native.redist" version="4.0.4" />

View File

@ -13,7 +13,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Redistributable components for package 'libmxml2_native'. This package should only be installed as a dependency.</description>
<summary>Mini-XML is a small XML parsing library that you can use to read XML data files or strings in your application without requiring large non-standard libraries. This package provides the redistributable content for Mini-XML.</summary>
<copyright>Copyright © 2003-2024 by Michael R Sweet</copyright>
<copyright>Copyright © 2003-2025 by Michael R Sweet</copyright>
<tags>xml</tags>
</metadata>
<files>