We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a85ceb7 commit 8fab58aCopy full SHA for 8fab58a
1 file changed
configure
@@ -164,6 +164,23 @@ for tb in $_TOBUILD; do
164
concat "`getlink $tb`"
165
done
166
167
+if [ "$(command -v xbps-src-make 2>/dev/null)" ]; then
168
+ xbps-src-make \
169
+ -distdir "$DISTDIR" \
170
+ -hostdir "$HOSTDIR" \
171
+ -masterdir "$MASTERDIR" \
172
+ ${XBPS_ARCH:+-arch ${XBPS_ARCH}} \
173
+ ${CROSS_ARCH:+-cross ${CROSS_ARCH}} \
174
+ -flags "$CFG_LOCAL $CFG_OVERLAYFS -L $CFG_CMDLINE" \
175
+ $TOBUILD \
176
+ >Makefile
177
+ if [ $? -eq 0 ]; then
178
+ printf "INFO: 'Makefile' generated.\n"
179
+ printf "INFO: Type 'make'\n"
180
+ exit 0
181
+ fi
182
+fi
183
+
184
printf "INFO: Removing old Makefile (if any)...\n"
185
[ -f Makefile ] && rm -f Makefile
186
touch Makefile
0 commit comments