pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/webmin
Module Name: pkgsrc
Committed By: rillig
Date: Sun Nov 20 01:11:40 UTC 2016
Modified Files:
pkgsrc/sysutils/webmin: Makefile
Log Message:
Cleaned up complicated code for removing unnecessary modules and themes.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/sysutils/webmin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/webmin/Makefile
diff -u pkgsrc/sysutils/webmin/Makefile:1.43 pkgsrc/sysutils/webmin/Makefile:1.44
--- pkgsrc/sysutils/webmin/Makefile:1.43 Sat Jul 9 06:39:03 2016
+++ pkgsrc/sysutils/webmin/Makefile Sun Nov 20 01:11:40 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2016/07/09 06:39:03 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2016/11/20 01:11:40 rillig Exp $
.include "version.mk"
@@ -75,15 +75,15 @@ post-extract:
pre-configure:
cd ${WRKSRC} && \
- ptn="@"`${ECHO} ${WEBMIN_MINIMAL_MODULES}|sed -e 's/ /@/g'`"@" && \
- for m in `${ECHO} */module.info | sed -e 's/\/module.info//g'`; do \
- case $${ptn} in \
- *@$${m}@*) ;; \
- *) rm -rf $${m} ;; \
+ for m in */module.info; do \
+ moduledir=$${m%/module.info}; \
+ case $${moduledir} in \
+ ${WEBMIN_MINIMAL_MODULES:ts|}) ;; \
+ *) rm -rf $${moduledir} ;; \
esac; \
done && \
- for t in `${ECHO} */theme.info | sed -e 's/\/theme.info//g'`; do\
- rm -rf $${t}; \
+ for t in */theme.info; do \
+ rm -rf $${t%/theme.info}; \
done && \
touch ${WRKSRC}/minimal-install
Home |
Main Index |
Thread Index |
Old Index