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

📄 makefile.in

📁 Network Administration Visualized 网络管理可视化源码
💻 IN
字号:
#! /usr/bin/env make# -*- coding: ISO8859-1 -*-## Copyright 2006 UNINETT AS## This file is part of Network Administration Visualized (NAV)## NAV 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.## NAV 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.## You should have received a copy of the GNU General Public License# along with NAV; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA## Authors: Stein Magnus Jodal <stein.magnus.jodal@uninett.no># ID: $Id:$## ProgramsINSTALL = @INSTALL@CHEETAH = @CHEETAH@# Pathsprefix = @prefix@bindir = @bindir@libdir = @libdir@exec_prefix = @exec_prefix@sysconfdir = @sysconfdir@initdir = @initdir@localstatedir = @localstatedir@tooldir = @tooldir@crondir = @crondir@pythonlibdir = @pythonlibdir@webroot = @webroot@# NamesWEBNAME = maintenance# FilesBINS = $(wildcard bin/*.py)LIBS = $(wildcard nav/*.py nav/web/maintenance/*.py)CONFFILES =CRONFILES = $(wildcard *.cron)INITFILES =TOOLS = maintenance.toolTEMPLATESSRC = $(wildcard nav/web/templates/*.tmpl)TEMPLATES = $(TEMPLATESSRC:%.tmpl=%.py).PHONY: all lib bin conf web install install-lib install-bin install-conf install-web uninstall clean distcleanall: lib bin conf weblib: $(TEMPLATES)bin:conf:web:$(TEMPLATES): %.py: %.tmpl	$(CHEETAH) compile $<install: all install-lib install-bin install-conf install-webinstall-lib: lib $(TEMPLATES)	for file in $(LIBS) $(TEMPLATES); do $(INSTALL) -v -D -m 644 $$file $(DESTDIR)$(pythonlibdir)/$$file || exit 1; doneinstall-bin: bin	for file in $(notdir $(BINS)); do $(INSTALL) -v -D -m 755 bin/$$file $(DESTDIR)$(bindir)/$$file || exit 1; done	for file in $(INITFILES); do $(INSTALL) -v -D -m 755 $$file $(DESTDIR)$(initdir)/$$file	|| exit 1; done	for file in $(basename $(CRONFILES)); do $(INSTALL) -v -D -m 644 $$file.cron $(DESTDIR)$(crondir)/$$file || exit 1; doneinstall-conf: conf	@for file in $(CONFFILES); do \		target=$(DESTDIR)$(sysconfdir)/$$file; \		if [ -f "$$target" ]; then \			echo "Skipping installation of config file $$file"; \		else \			$(INSTALL) -v -D -m 644 $$file $$target || exit 1; \		fi \	doneinstall-web: web	for file in $(TOOLS); do $(INSTALL) -v -D -m 644 $$file $(DESTDIR)$(tooldir)/$$file || exit 1; done	$(INSTALL) -v -D -m 644 htaccess $(DESTDIR)$(webroot)/$(WEBNAME)/.htaccessuninstall:	for file in $(BINS); do rm -f $(DESTDIR)$(bindir)/$$file || exit 1; done	for file in $(LIBS); do rm -f $(DESTDIR)$(pythonlibdir)/$$file || exit 1; done	for file in $(TOOLS); do rm -f $(DESTDIR)$(tooldir)/$$file || exit 1; doneclean:	find -name *.pyc -print0 | xargs -0 rm -f	for file in $(TEMPLATES); do rm -f $$file; donedistclean: clean	find -name \*~ -print0 | xargs -0 rm -f	rm -f Makefile

⌨️ 快捷键说明

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