📄 makefile.top
字号:
################################################################################# Copyright (C) 2003 Reznic Valery <valery_reznic@users.sourceforge.net>## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.################################################################################DISTDIR = $(PACKAGE)-$(VERSION)TARFILE = $(CURDIR)/$(DISTDIR).tar.gzFILE_LIST_FOR_TAR = tmp_file_listdist-list-for-tar: @$(RM) $(FILE_LIST_FOR_TAR) @$(MAKE) --no-print-directory MY_DIR=$(DISTDIR) dist-list > $(FILE_LIST_FOR_TAR) tar: dist-list-for-tar extra-dist @$(RM) $(TARFILE) @$(RM) $(DISTDIR) @$(LN) . $(DISTDIR) GZIP=--best tar --create --dereference --gzip --file $(TARFILE) --files-from=$(FILE_LIST_FOR_TAR) @$(RM) $(DISTDIR) @$(RM) $(FILE_LIST_FOR_TAR)TOP_BUILD_DIR = $(CURDIR)RPM_BUILD_DIR = $(CURDIR)/TMP_BUILDRPM_SPEC_DIR = $(RPM_BUILD_DIR)RPM_DEFINES = \ --define "_sourcedir $(TOP_BUILD_DIR)" \ --define "_builddir $(RPM_BUILD_DIR)" \ --define "_specdir $(RPM_SPEC_DIR)" \ --define "_rpmdir $(TOP_BUILD_DIR)" \ --define "_srcrpmdir $(TOP_BUILD_DIR)" \ --define '_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'rpmbuild: tar $(RMDIR) $(RPM_BUILD_DIR) $(MKDIR) $(RPM_BUILD_DIR) rpmbuild -ta $(RPM_DEFINES) $(RPM_DEFINES_USER) $(TARFILE) $(RMDIR) $(RPM_BUILD_DIR)rpmbuild_old: $(MAKE) rpmbuild RPM_DEFINES_USER="--define '_without_dev 1'"include Makefile.include
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -