- rm -f $(DATA_PREFIX)/banners/*
- rm -f $(DATA_PREFIX)/fonts/*
- rm -f $(DATA_PREFIX)/icons/*
- rm -f $(DATA_PREFIX)/indicators/*
- rm -f $(DATA_PREFIX)/music/*
- rm -f $(DATA_PREFIX)/sounds/*
- rm -f $(DATA_PREFIX)/sprites/*
- rm -f $(DATA_PREFIX)/scores $(DATA_PREFIX)/.highscore
-
- if [ -d $(DATA_PREFIX)/banners ]; then rmdir $(DATA_PREFIX)/banners; fi
- if [ -d $(DATA_PREFIX)/fonts ]; then rmdir $(DATA_PREFIX)/fonts; fi
- if [ -d $(DATA_PREFIX)/icons ]; then rmdir $(DATA_PREFIX)/icons; fi
- if [ -d $(DATA_PREFIX)/indicators ]; then rmdir $(DATA_PREFIX)/indicators; fi
- if [ -d $(DATA_PREFIX)/music ]; then rmdir $(DATA_PREFIX)/music; fi
- if [ -d $(DATA_PREFIX)/sounds ]; then rmdir $(DATA_PREFIX)/sounds; fi
- if [ -d $(DATA_PREFIX)/sprites ]; then rmdir $(DATA_PREFIX)/sprites; fi
- if [ -d $(DATA_PREFIX) ]; then rmdir $(DATA_PREFIX); fi
+
+uninstall-data:
+ rm -f $(DATA_PREFIX)/*.png
+ rm -f $(DATA_PREFIX)/*.wav
+ rm -f $(DATA_PREFIX)/*.mod