📄 ax_upload.m4
字号:
# @synopsis AX_UPLOAD([command])# ---------------------------------------------------------# Author: Tom Howard <tomhoward@users.sf.net># Version: 1.1# Copyright (C) 2004, 2005, Tom Howard## Copying and distribution of this file, with or without# modification, are permitted in any medium without# royalty provided the copyright notice and this notice# are preserved.## Desc: Adds support for uploading dist files. %%s in the command will be# substituted with the name of the file. e.g## AX_UPLOAD([ncftpput -v upload.sourceforge.net /incoming %%s])## To add upload support for other custom dists use AX_ADD_SRC_UPLOAD or# AX_ADD_BIN_UPLOAD## You can then upload of the src distribution files by running## make upload-src## all the binary distribution files by running## make upload-bin## or both by running## make upload#AC_DEFUN([AX_UPLOAD],[AC_MSG_NOTICE([adding upload support])USING_AX_UPLOAD=trueAC_MSG_NOTICE([setting upload command... \`$1\`])AX_UPLOAD_COMMAND="$1"AX_ADD_MK_MACRO([[UPLOAD_BIN =UPLOAD_SRC =upload-src: @cd \$(top_builddir); \\ for TARGET in \$(UPLOAD_SRC); do \\ \$(MAKE) \"\$\$TARGET\"; \\ doneupload-bin: @cd \$(top_builddir); \\ for TARGET in \$(UPLOAD_BIN); do \\ \$(MAKE) \"\$\$TARGET\"; \\ doneupload upload-all all-upload: upload-src upload-bin]])AX_ADD_SRC_UPLOAD([gzip],[$PACKAGE-$VERSION.tar.gz])AX_ADD_SRC_UPLOAD([bzip2],[$PACKAGE-$VERSION.tar.bz2])AX_ADD_SRC_UPLOAD([zip],[$PACKAGE-$VERSION.zip])])# AX_UPLOAD
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -