@@ -59,11 +59,11 @@ dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Pr
5959
6060# Use distutils to build the module.
6161all-local : .stamp-distutils-in-builddir config.py cupshelpers/config.py
62- $(PYTHON ) -m build
62+ $(PYTHON ) -m build --no-isolation
6363
6464# Use distutils to install the module.
6565install-exec-local : .stamp-distutils-in-builddir
66- $(PYTHON ) -m pip install --root $(DESTDIR ) --prefix=$(prefix ) .
66+ $(PYTHON ) -m pip install --root " $( DESTDIR) " --prefix=$(prefix ) --no-build-isolation .
6767
6868# Uninstall the module, crossing our fingers that we know enough
6969# about how distutils works to do this. Unfortunately, distutils
@@ -72,6 +72,7 @@ uninstall-local:
7272 rm -f $(DESTDIR ) /$(pythondir ) /cupshelpers* .egg-info
7373 rm -rf $(DESTDIR ) /$(pythondir ) /cupshelpers/__pycache__
7474 rm -rf $(DESTDIR ) /$(pythondir ) /cupshelpers* .egg
75+ rm -rf $(DESTDIR ) /$(pythondir ) /cupshelpers* .dist-info
7576 for file in $( EXPORT_MODULES) $( EXPORT_MODULES_GEN) ; do \
7677 rm -f $(DESTDIR ) /$(pythondir ) /$$ file* ; \
7778 done
@@ -288,7 +289,7 @@ EXTRA_DIST=\
288289 bootstrap \
289290 mkinstalldirs \
290291 ChangeLog-OLD \
291- README \
292+ README.md \
292293 $(desktop_in_files ) \
293294 config.py.in \
294295 cupshelpers/config.py.in \
@@ -402,5 +403,7 @@ distclean-local:
402403 rm -rf cupshelpers/__pycache__
403404 rm -rf cupshelpers.egg-info/
404405 rm -rf dist/cupshelpers* .egg
406+ rm -rf dist
407+ rm -rf ./$(prefix )
405408
406409.PHONY : update-po missing-languages run help FORCE
0 commit comments