⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rules

📁 cdfs scr 2420a 2618 ky
💻
字号:
#!/usr/bin/make -f# Sample debian/rules that uses debhelper.# GNU copyright 1997 to 1999 by Joey Hess.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1# This is the debhelper compatability version to use.export DH_COMPAT=5configure: configure-stampconfigure-stamp:	dh_testdir		# add stuff for configuration	touch configure-stampbuild: configure-stamp build-stampbuild-stamp:	dh_testdir	#$(MAKE)	touch build-stampclean:	dh_testdir	dh_testroot	rm -f build-stamp configure-stamp	# Add here commands to clean up after the build process.	#-$(MAKE) clean	dh_cleaninstall: build	dh_testdir	dh_testroot	dh_clean -k	dh_installdirs	cd $(CURDIR)	mkdir -p $(CURDIR)/debian/cdfs-src/usr/src/modules/cdfs/debian	for x in cdfs*bz2 ; do bzcat $$x | tar x -C $(CURDIR)/debian/cdfs-src/usr/src/modules/ ; done	cd $(CURDIR)/debian/cdfs-src/usr/src/modules && mv cdfs-2.6.* cdfs/2.6 && mv cdfs-2.4* cdfs/2.4	cp -a debian/*modules.in* debian/rules debian/*KVERS* debian/changelog debian/copyright patch.cdfs \		$(CURDIR)/debian/cdfs-src/usr/src/modules/cdfs/debian/	cp patch.cdfs debian/cdfs-src/usr/src/modules/cdfs/	dh_fixperms	cd $(CURDIR)/debian/cdfs-src/usr/src && tar c modules | bzip2 -9 > cdfs.tar.bz2 && rm -rf modules# Build architecture-independent files here.binary-indep: build install# We have nothing to do by default.# Build architecture-dependent files here.binary-arch: build install	dh_testdir	dh_testroot#	dh_installdebconf		dh_installdocs	dh_installexamples#	dh_installmanpages#	dh_undocumented	dh_installchangelogs 	dh_link	dh_strip	dh_compress	dh_fixperms	dh_installdeb#	dh_shlibdeps	dh_gencontrol	dh_md5sums	dh_builddeb# Name of packagePACKAGE         = cdfs# modifieable for experiments or debugging m-aMA_DIR ?= /usr/share/modass# load generic variable handling-include $(MA_DIR)/include/generic.mk# load default rules-include $(MA_DIR)/include/common-rules.mkexport CCkdist_config: prep-deb-filesbinary-modules: prep-deb-files	cd $(CURDIR)	mkdir -p debian/cdfs-$(KVERS)/lib/modules/$(KVERS)/kernel/fsifeq ($(shell echo $(KVERS) | sed -e 's/\(...\).*/\1/'),2.6)	cd 2.6 && make KDIR=$(KSRC)#	$(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) -r -o cdfs.ko 2.6/cdfs.o	cp 2.6/cdfs.ko debian/cdfs-$(KVERS)/lib/modules/$(KVERS)/kernel/fs/else	cd 2.4 && ./configure --with-kernel-dir="$(KSRC)" && make CONFIG_CDFS_KERNELDIR="$(KSRC)"	cp 2.4/cdfs.o debian/cdfs-$(KVERS)/lib/modules/$(KVERS)/kernel/fs/endif#	dh_installdebconf		dh_installdocs 2.4/cdfs.html 2.4/cdfs.png#	dh_installexamples#	dh_installmanpages#	dh_undocumented	dh_installchangelogs 	dh_link	dh_strip	dh_compress	dh_fixperms	# You may want to make some executables suid here.#	dh_suidregister#	dh_makeshlibs	dh_installdeb#	dh_perl#	dh_shlibdeps	dh_gencontrol  -- -v$(VERSION)	dh_md5sums	dh_builddeb --destdir=$(DEB_DESTDIR).PHONY: cleankdist_clean:	-dh_testdir	-dh_testroot	rm -f build-stamp configure-stamp	-dh_clean	-rm -f $(CURDIR)/debian/control	-rm -rf $(CURDIR)/debian/cdfs-2.* *.o *.ko */*.o */*.ko	-$(MAKE) clean	-cd 2.6 && $(MAKE) clean	-cd 2.4 && $(MAKE) cleanbinary: binary-indep binary-arch.PHONY: build clean binary-indep binary-arch binary install configure

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -