mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 11:02:35 +01:00
make: remove installed translations when performing Uninstall
When support for translated languages was enabled, the localisation files were installed, but make uninstall did not take care to remove them. This patch fixes this by properly removing them. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
56acd42e43
commit
740c812476
@@ -40,3 +40,9 @@ install-data-local: $(CATALOGS)
|
||||
$(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(localedir)/$$l/LC_MESSAGES/$(DOMAIN).mo; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
uninstall-local:
|
||||
for n in $(CATALOGS) ; do \
|
||||
l=`basename $$n .mo`; \
|
||||
rm -f $(DESTDIR)$(localedir)/$$l/LC_MESSAGES/$(DOMAIN).mo; \
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user