# $Id$

DOCUMENTS=	passwd.pdf
FILES=		passwd.tex aims.tex literature.tex literature.bib
FILES+= 	unix-passwd.txt win-pwd.txt pwdstream.py sshforce.py
CATEGORY=	security/labs
PACKAGE=	passwd-src
PACKAGE_FILES=	${FILES} Makefile
PUB_FILES=	${DOCUMENTS} ${PACKAGE}.tar.gz
PUB_FILES+= unix-passwd.txt win-pwd.txt pwdstream.py sshforce.py

USE_LATEXMK= 	yes
USE_BIBLATEX= 	yes

passwd.pdf: ${FILES}


### INCLUDES ###

INCLUDES= 	depend.mk miun.course.mk miun.package.mk export.mk

define inc
ifeq ($(findstring $(1),${MAKEFILE_LIST}),)
$(1):
	wget https://raw.githubusercontent.com/dbosk/makefiles/master/$(1)
include $(1)
endif
endef
$(foreach i,${INCLUDES},$(eval $(call inc,$i)))
