1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

x11-wm/dwm: make DWM_CONF use symlink

Avoid config.h and DWM_CONF being out of sync. In case of update while
trying fix a build failure one may want to do |make clean| after
replacing a third-party patch in Makefile.local or files/ directory.

PR:		204658
Approved by:	maintainer timeout (18 days)
This commit is contained in:
Jan Beich 2015-12-07 05:01:45 +00:00
parent ebcc3aa614
commit 2b605b7e05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403181

View File

@ -37,8 +37,8 @@ pre-everything::
post-extract:
@if [ -e "${DWM_CONF}" ]; then \
${ECHO_MSG} "creating config.h from ${DWM_CONF}"; \
${CP} "${DWM_CONF}" ${WRKSRC}/config.h; \
${ECHO_MSG} "Creating symlink: config.h -> ${DWM_CONF}"; \
${LN} -fs "${DWM_CONF}" ${WRKSRC}/config.h; \
fi
post-install: