libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

Makefile (553B)


      1 ROOT=.
      2 include $(ROOT)/mk/hdr.mk
      3 include $(ROOT)/mk/ixp.mk
      4 
      5 DIRS =	lib	\
      6 	cmd	\
      7 	include	\
      8 	man
      9 
     10 doc:
     11 	perl $(ROOT)/util/grepdoc $$(hg manifest | egrep '^(lib|include)') \
     12 		>$(ROOT)/man/targets.mk
     13 	$(MAKE) -Cman
     14 
     15 deb-dep:
     16 	IFS=', '; \
     17 	apt-get -qq install build-essential $$(sed -n 's/([^)]*)//; s/^Build-Depends: \(.*\)/\1/p' debian/control)
     18 
     19 DISTRO = unstable
     20 deb:
     21 	$(ROOT)/util/genchangelog libixp-hg $(VERSION) $(DISTRO)
     22 	dpkg-buildpackage -rfakeroot -b -nc
     23 	[ -d .hg ] && hg revert debian/changelog || true
     24 
     25 .PHONY: doc
     26 include $(ROOT)/mk/dir.mk
     27