summaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 1b74e66a88cb264dbe544d476c770e56abade248 (plain) (tree)


















                                                                     
#!/usr/bin/make -f

SUBDIRS := etc/xdg/xdg-xebian/Thunar/po usr/share/polkit-1/actions/po

all:
	@echo "Nothing to build, call 'make install' instead."

install:
	mkdir -pv $(DESTDIR)
	cp -a etc usr $(DESTDIR)/.
	# po generation
	for i in $(SUBDIRS); do \
		make -C $(DESTDIR)/$$i; \
		rm -rf $(DESTDIR)/$$i; \
	done
	# remove some remaining files
	find $(DESTDIR) -type f -iname "*.in" | xargs rm -f

# vim:ts=4