#
# old skool Makefile by Nat!
#
CFLAGS=$(CFLAGS) -Wno-deprecated-declarations

MANPAGES = mulle-plist-from-files/mulle-plist-from-files.8 \
	mulle-plist-compress/mulle-plist-compress.8 \
	mulle-plist-fix/mulle-plist-fix.8 \
	mulle-plist-hack/mulle-plist-hack.8 

all:	README.md
	( cd mulle-plist-from-files; make )	
	( cd mulle-plist-compress; make )	
	( cd mulle-plist-fix; make )
	( cd mulle-plist-hack; make )	

clean:
	( cd mulle-plist-from-files; make clean )	
	( cd mulle-plist-compress; make clean )	
	( cd mulle-plist-fix; make clean )
	( cd mulle-plist-hack; make clean )	

install:
	( cd mulle-plist-from-files; make install )	
	( cd mulle-plist-compress; make install )	
	( cd mulle-plist-fix; make install )
	( cd mulle-plist-hack; make install )	

README.md:	.ugly/update-README.md.sh .ugly/README.md.header .ugly/README.md.footer $(MANPAGES)
	.ugly/update-README.md.sh $(MANPAGES) > README.md