Makefile 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. # BEGIN COPYRIGHT BLOCK
  2. # This Program is free software; you can redistribute it and/or modify it under
  3. # the terms of the GNU General Public License as published by the Free Software
  4. # Foundation; version 2 of the License.
  5. #
  6. # This Program is distributed in the hope that it will be useful, but WITHOUT
  7. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  8. # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  9. #
  10. # You should have received a copy of the GNU General Public License along with
  11. # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
  12. # Place, Suite 330, Boston, MA 02111-1307 USA.
  13. #
  14. # In addition, as a special exception, Red Hat, Inc. gives You the additional
  15. # right to link the code of this Program with code not covered under the GNU
  16. # General Public License ("Non-GPL Code") and to distribute linked combinations
  17. # including the two, subject to the limitations in this paragraph. Non-GPL Code
  18. # permitted under this exception must only link to the code of this Program
  19. # through those well defined interfaces identified in the file named EXCEPTION
  20. # found in the source code files (the "Approved Interfaces"). The files of
  21. # Non-GPL Code may instantiate templates or use macros or inline functions from
  22. # the Approved Interfaces without causing the resulting work to be covered by
  23. # the GNU General Public License. Only Red Hat, Inc. may make changes or
  24. # additions to the list of Approved Interfaces. You must obey the GNU General
  25. # Public License in all respects for all of the Program code and other code used
  26. # in conjunction with the Program except the Non-GPL Code covered by this
  27. # exception. If you modify this file, you may extend this exception to your
  28. # version of the file, but you are not obligated to do so. If you do not wish to
  29. # provide this exception without modification, you must delete this exception
  30. # statement from your version and license this file solely under the GPL without
  31. # exception.
  32. #
  33. #
  34. # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  35. # Copyright (C) 2007 Red Hat, Inc.
  36. # All rights reserved.
  37. # END COPYRIGHT BLOCK
  38. #
  39. # GNU Makefile for Directory Server Console Help
  40. #
  41. BUILD_ROOT = ../../..
  42. LDAP_SRC = ../..
  43. MODULE=httpdAdminHTML
  44. NOSTDCLEAN=true # don't let nsconfig.mk define target clean
  45. include $(BUILD_ROOT)/nsconfig.mk
  46. include $(LDAP_SRC)/nsldap.mk
  47. HTMLDEST=$(OBJDIR)/manual/slapd
  48. NEWHTMLDEST=$(OBJDIR)/manual/slapd/help
  49. COPYRIGHTDEST=$(OBJDIR)/manual/slapd/copyright
  50. NOSTDSTRIP=true
  51. NOSTDDEPEND=true
  52. HTML= index.map index.htm pixel.gif
  53. NEWHTMLTOKEN=tokens.map
  54. NEWHTMLTOPIC=topicindex.htm
  55. COPYRIGHTFILES=copyright.html
  56. NEWHTML = account_mgmt.htm \
  57. adv_search.htm \
  58. configtab_chaindb.htm \
  59. configtab_chaindb2.htm \
  60. configtab_chaindb3.htm \
  61. configtab_chaindb4.htm \
  62. configtab_chaindb5.htm \
  63. configtab_chaindb6.htm \
  64. configtab_chaindb7.htm \
  65. configtab_db.htm \
  66. configtab_db10.htm \
  67. configtab_db11.htm \
  68. configtab_db12.htm \
  69. configtab_db13.htm \
  70. configtab_db14.htm \
  71. configtab_db15.htm \
  72. configtab_db2.htm \
  73. configtab_db3.htm \
  74. configtab_db4.htm \
  75. configtab_db5.htm \
  76. configtab_db6.htm \
  77. configtab_db7.htm \
  78. configtab_db8.htm \
  79. configtab_db9.htm \
  80. configtab_ldbmdb.htm \
  81. configtab_logs.htm \
  82. configtab_logs2.htm \
  83. configtab_logs3.htm \
  84. configtab_maptree.htm \
  85. configtab_maptree2.htm \
  86. configtab_maptree3.htm \
  87. configtab_maptree4.htm \
  88. configtab_maptree5.htm \
  89. configtab_maptree6.htm \
  90. configtab_maptree7.htm \
  91. configtab_plugins.htm \
  92. configtab_replication.htm \
  93. configtab_replication2.htm \
  94. configtab_replication3.htm \
  95. configtab_replication4.htm \
  96. configtab_replication5.htm \
  97. configtab_replication6.htm \
  98. configtab_replication7.htm \
  99. configtab_replication8.htm \
  100. configtab_synchronization1.htm \
  101. configtab_synchronization2.htm \
  102. configtab_synchronization3.htm \
  103. configtab_rootnode.htm \
  104. configtab_rootnode2.htm \
  105. configtab_rootnode3.htm \
  106. configtab_rootnode4.htm \
  107. configtab_rootnode5.htm \
  108. configtab_rootnode6.htm \
  109. configtab_rootnode7.htm \
  110. configtab_rootnode8.htm \
  111. configtab_rootnode9.htm \
  112. configtab_schema.htm \
  113. configtab_schema2.htm \
  114. configtab_schema3.htm \
  115. configtab_schema4.htm \
  116. configtab_schema5.htm \
  117. dirtab_cos.htm \
  118. dirtab_cos2.htm \
  119. dirtab_cos3.htm \
  120. dirtab_role.htm \
  121. dirtab_role2.htm \
  122. dirtab_role3.htm \
  123. dirtab_role4.htm \
  124. dirtab_role5.htm \
  125. dirtab_role6.htm \
  126. dirtab_role7.htm \
  127. dir_browser.htm \
  128. dir_browser2.htm \
  129. dir_browser3.htm \
  130. dir_browser4.htm \
  131. helpmenu.htm \
  132. ix.htm \
  133. ldapurl.htm \
  134. new_instance.htm \
  135. pixel.gif \
  136. property_editor.htm \
  137. property_editor2.htm \
  138. property_editor3.htm \
  139. property_editor4.htm \
  140. redir_agtoc.htm \
  141. redir_dochome.htm \
  142. replication_wizard.htm \
  143. replication_wizard2.htm \
  144. replication_wizard3.htm \
  145. replication_wizard4.htm \
  146. replication_wizard5.htm \
  147. replication_wizard6.htm \
  148. statustab_general.htm \
  149. statustab_logs.htm \
  150. statustab_logs2.htm \
  151. statustab_logs3.htm \
  152. statustab_performance.htm \
  153. statustab_performance2.htm \
  154. statustab_replication.htm \
  155. synchronization_wizard1.htm \
  156. synchronization_wizard2.htm \
  157. synchronization_wizard3.htm \
  158. taskstab_bkup_restore.htm \
  159. taskstab_bkup_restore2.htm \
  160. topics.htm \
  161. sniffer.js
  162. BINS=$(addprefix $(HTMLDEST)/,$(HTML))
  163. NEWBINS = $(addprefix $(NEWHTMLDEST)/,$(NEWHTML)) \
  164. $(addprefix $(HTMLDEST)/,$(NEWHTMLTOKEN)) \
  165. $(addprefix $(HTMLDEST)/,$(NEWHTMLTOPIC))
  166. COPYRIGHTBINS = $(addprefix $(COPYRIGHTDEST)/,$(COPYRIGHTFILES))
  167. all: $(HTMLDEST) $(BINS) $(NEWHTMLDEST) $(NEWBINS)
  168. $(HTMLDEST):
  169. mkdir -p $(HTMLDEST)
  170. $(NEWHTMLDEST):
  171. mkdir -p $(NEWHTMLDEST)
  172. $(COPYRIGHTDEST):
  173. mkdir -p $(COPYRIGHTDEST)
  174. strip:
  175. depend:
  176. clean:
  177. -$(RM) -f $(BINS) $(NEWBINS)
  178. $(HTMLDEST)/%.js: %.js
  179. -$(RM) -f $@
  180. cp $< $@
  181. $(HTMLDEST)/%.map: %.map
  182. -$(RM) -f $@
  183. cp $< $@
  184. $(HTMLDEST)/%.htm: %.htm
  185. -$(RM) -f $@
  186. cp $< $@
  187. $(HTMLDEST)/%.jpg: %.jpg
  188. -$(RM) -f $@
  189. cp $< $@
  190. $(NEWHTMLDEST)/%.htm: %.htm
  191. -$(RM) -f $@
  192. cp $< $@
  193. $(HTMLDEST)/%.gif: %.gif
  194. -$(RM) -f $@
  195. cp $< $@
  196. $(NEWHTMLDEST)/%.gif: %.gif
  197. -$(RM) -f $@
  198. cp $< $@
  199. $(COPYRIGHTDEST)/%.html: copyright/%.html
  200. -$(RM) -f $@
  201. cp $< $@
  202. HTMLDEFS=-DPRODUCT_NAME=$(PRODUCT) -D$(ARCH) -DARCH=$(PRETTY_ARCH)