Changeset 1194 for TI05-delivery/trunk
- Timestamp:
- 15/06/06 12:44:36 (15 years ago)
- Location:
- TI05-delivery/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/trunk/Doxyfile
r1120 r1194 631 631 # generate Latex output. 632 632 633 GENERATE_LATEX = YES633 GENERATE_LATEX = NO 634 634 635 635 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -
TI05-delivery/trunk/setup.py
r1187 r1194 2 2 """ 3 3 4 from distutils.core import setup, Extension 4 from distutils.core import setup, Extension, Command 5 import sys, os 5 6 6 7 bbftpd_home = './src/bbftp-server-3.2.0' … … 78 79 './src/python_ext/util.c'] 79 80 81 #------------------------------------------------------------------------------------------- 82 83 class Doc(Command): 84 """Build epydoc and doxygen documentation. 85 """ 86 87 user_options = [] 88 89 def initialize_options(self): 90 pass 91 def finalize_options(self): 92 pass 93 94 def run(self): 95 cmd = 'epydoc -o doc/epydoc -v --docformat javadoc build/lib*/delivery/' 96 self.execute(os.system, (cmd,)) 97 self.execute(os.system, ('doxygen',)) 98 99 from distutils.command.build import build 100 101 class MyBuild(build): 102 def run(self): 103 self.execute(os.system, ('make -C src',)) 104 build.run(self) 105 106 #------------------------------------------------------------------------------------------- 107 108 109 110 111 112 113 114 80 115 bbftpd = Extension('delivery.bbftpd', 81 116 define_macros = [('NDG_AUTH', 1), ('LOCAL_SYSLOG_FACILITY', 1), … … 105 140 ext_modules = [ 106 141 bbftpd, 107 bbftpc]) 142 bbftpc], 143 cmdclass = {'doc': Doc, 'build': MyBuild} 144 ) 108 145 -
TI05-delivery/trunk/src/Makefile
r1078 r1194 16 16 all: server client 17 17 18 server: 19 make -C $(BBFTPD) 18 server: $(BBFTPD)/bbftpd 20 19 21 client: 22 make -C $(BBFTPC) 20 client: $(BBFTPC)/bbftpc 23 21 24 # Configure and build bbftp 25 config: 26 ( cd $(BBFTPC) ; ./configure $(CONFIG_OPTS) ) 27 ( cd $(BBFTPD) ; ./configure $(CONFIG_OPTS) ) 22 28 23 29 24 install: … … 38 33 clean_client: 39 34 -rm $(BBFTPC)/*.o $(BBFTPC)/bbftp 35 36 37 38 39 $(BBFTPC)/Makefile: $(BBFTPC)/configure 40 ( cd $(BBFTPC) ; ./configure $(CONFIG_OPTS) ) 41 42 $(BBFTPD)/Makefile: $(BBFTPD)/configure 43 ( cd $(BBFTPD) ; ./configure $(CONFIG_OPTS) ) 44 45 $(BBFTPD)/bbftpd: $(BBFTPD)/Makefile 46 make -C $(BBFTPD) 47 48 $(BBFTPC)/bbftpc: $(BBFTPC)/Makefile 49 make -C $(BBFTPC)
Note: See TracChangeset
for help on using the changeset viewer.