~xubuntu-dev/xubuntu-default-settings/trunk

71.1.4 by Lionel Le Folgoc
Add a top Makefile.
1
#!/usr/bin/make -f
2
629.1.1 by Sean Davis
Add Xubuntu templates
3
SUBDIRS := etc/xdg/xdg-xubuntu/Thunar/po usr/share/polkit-1/actions/po usr/share/xubuntu/applications/po usr/share/xubuntu/templates/po 
71.1.4 by Lionel Le Folgoc
Add a top Makefile.
4
165 by Lionel Le Folgoc
fix makefile
5
all:
6
	@echo "Nothing to build, call 'make install' instead."
71.1.4 by Lionel Le Folgoc
Add a top Makefile.
7
8
install:
71.1.5 by Lionel Le Folgoc
Create destdir.
9
	mkdir -pv $(DESTDIR)
71.1.4 by Lionel Le Folgoc
Add a top Makefile.
10
	cp -a etc usr $(DESTDIR)/.
11
	# po generation
12
	for i in $(SUBDIRS); do \
13
		make -C $(DESTDIR)/$$i; \
14
		rm -rf $(DESTDIR)/$$i; \
15
	done
16
	# remove some remaining files
17
	find $(DESTDIR) -type f -iname "*.in" | xargs rm -f
18
19
# vim:ts=4