Automake uses "rm -f" literally so there is not much point in PSPP trying
to use $(RM). At any rate it's a GNU make extension so it's best to avoid
it for portability.
cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
perl-module/PSPP-Perl-$(VERSION_FOR_PERL).tar.gz: $(module_sources)
- $(RM) $@
+ rm -f $@
cd perl-module && $(MAKE) $(AM_MAKEFLAGS) tardist
PHONY += module-make
perl_module_CLEAN:
cd perl-module && $(MAKE) $(AM_MAKEFLAGS) clean || true
if test x"$(top_builddir)" != x"$(top_srcdir)" ; then \
- $(RM) $(module_sources) ; \
+ rm -f $(module_sources) ; \
fi
- $(RM) perl-module/Makefile.old
+ rm -f perl-module/Makefile.old
CLEAN_LOCAL += perl_module_CLEAN
uninstall-hook:
for f in $(GMOFILES); do \
lang=`echo $$f | sed -e 's%po/\(.*\)\.gmo%\1%' ` ; \
- $(RM) $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \
+ rm -f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \
done
uninstall-icons:
for size in 16x16 ; do \
- $(RM) $(themedir)/$$size/$(context)/psppicon.png ; \
+ rm -f $(themedir)/$$size/$(context)/psppicon.png ; \
done
gtk-update-icon-cache --ignore-theme-index $(themedir)
# This seems to be necessary as the libtool artifacts aren't removed
# Automake bug ?
tests_data_datasheet_test_CLEAN:
- $(RM) -r tests/data
+ rm -fr tests/data
CLEAN_LOCAL += tests_data_datasheet_test_CLEAN