# # Makefile for GNUstep Base Library documentation. # # Copyright (C) 2002 Free Software Foundation, Inc. # # Written by: Richard Frith-Macdonald # # This file is part of the GNUstep Base Library. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; see the file COPYING.LIB. # If not, see or write to the # Free Software Foundation, 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. MAKEFILE_NAME = DocMakefile include $(GNUSTEP_MAKEFILES)/common.make ADD_THESE_QUESTION_MARK = \ NSColorPicking.h \ NSGraphics.h \ NSNibConnector.h \ NSNibDeclarations.h \ NSNibLoading.h \ NSSpellProtocol.h \ NSUserInterfaceValidation.h \ # These are gui headers that are also classes documented with autogsdoc AUTOGSDOC_HEADERS_GUI = \ AppKitDefines.h \ AppKitErrors.h \ AppKitExceptions.h \ AppKit.h \ DPSOperators.h \ NSAccessibilityConstants.h \ NSAccessibilityCustomAction.h \ NSAccessibilityCustomRotor.h \ NSAccessibilityElement.h \ NSAccessibility.h \ NSAccessibilityProtocols.h \ NSActionCell.h \ NSAffineTransform.h \ NSAlert.h \ NSAnimationContext.h \ NSAnimation.h \ NSAppearance.h \ NSApplication.h \ NSArrayController.h \ NSAttributedString.h \ NSBezierPath.h \ NSBitmapImageRep.h \ NSBox.h \ NSBrowserCell.h \ NSBrowser.h \ NSButtonCell.h \ NSButton.h \ NSButtonTouchBarItem.h \ NSCachedImageRep.h \ NSCandidateListTouchBarItem.h \ NSCell.h \ NSCIImageRep.h \ NSClickGestureRecognizer.h \ NSClipView.h \ NSCollectionViewCompositionalLayout.h \ NSCollectionViewFlowLayout.h \ NSCollectionViewGridLayout.h \ NSCollectionView.h \ NSCollectionViewItem.h \ NSCollectionViewLayout.h \ NSCollectionViewTransitionLayout.h \ NSColor.h \ NSColorList.h \ NSColorPanel.h \ NSColorPicker.h \ NSColorPickerTouchBarItem.h \ NSColorPicking.h \ NSColorSampler.h \ NSColorSpace.h \ NSColorWell.h \ NSComboBoxCell.h \ NSComboBox.h \ NSControl.h \ NSController.h \ NSCursor.h \ NSCustomImageRep.h \ NSCustomTouchBarItem.h \ NSDataAsset.h \ NSDataLink.h \ NSDataLinkManager.h \ NSDataLinkPanel.h \ NSDatePickerCell.h \ NSDatePicker.h \ NSDockTile.h \ NSDocumentController.h \ NSDocument.h \ NSDragging.h \ NSDrawer.h \ NSEPSImageRep.h \ NSErrors.h \ NSEvent.h \ NSFileWrapperExtensions.h \ NSFileWrapper.h \ NSFontAssetRequest.h \ NSFontCollection.h \ NSFontDescriptor.h \ NSFont.h \ NSFontManager.h \ NSFontPanel.h \ NSFormCell.h \ NSForm.h \ NSGestureRecognizer.h \ NSGlyphGenerator.h \ NSGlyphInfo.h \ NSGradient.h \ NSGraphicsContext.h \ NSGraphics.h \ NSGridView.h \ NSGroupTouchBarItem.h \ NSHelpManager.h \ NSHelpPanel.h \ NSImageCell.h \ NSImage.h \ NSImageRep.h \ NSImageView.h \ NSInputManager.h \ NSInputServer.h \ NSInterfaceStyle.h \ NSKeyValueBinding.h \ NSLayoutAnchor.h \ NSLayoutConstraint.h \ NSLayoutGuide.h \ NSLayoutManager.h \ NSLevelIndicatorCell.h \ NSLevelIndicator.h \ NSMagnificationGestureRecognizer.h \ NSMatrix.h \ NSMediaLibraryBrowserController.h \ NSMenu.h \ NSMenuItemCell.h \ NSMenuItem.h \ NSMenuView.h \ NSMovie.h \ NSMovieView.h \ NSNibConnector.h \ NSNibControlConnector.h \ NSNibDeclarations.h \ NSNib.h \ NSNibLoading.h \ NSNibOutletConnector.h \ NSObjectController.h \ NSOpenGL.h \ NSOpenGLView.h \ NSOpenPanel.h \ NSOutlineView.h \ NSPageController.h \ NSPageLayout.h \ NSPanel.h \ NSPanGestureRecognizer.h \ NSParagraphStyle.h \ NSPasteboard.h \ NSPasteboardItem.h \ NSPathCell.h \ NSPathComponentCell.h \ NSPathControl.h \ NSPathControlItem.h \ NSPDFImageRep.h \ NSPDFInfo.h \ NSPDFPanel.h \ NSPersistentDocument.h \ NSPickerTouchBarItem.h \ NSPICTImageRep.h \ NSPopover.h \ NSPopoverTouchBarItem.h \ NSPopUpButtonCell.h \ NSPopUpButton.h \ NSPredicateEditor.h \ NSPredicateEditorRowTemplate.h \ NSPressGestureRecognizer.h \ NSPrinter.h \ NSPrintInfo.h \ NSPrintOperation.h \ NSPrintPanel.h \ NSProgressIndicator.h \ NSResponder.h \ NSRotationGestureRecognizer.h \ NSRuleEditor.h \ NSRulerMarker.h \ NSRulerView.h \ NSRunningApplication.h \ NSSavePanel.h \ NSScreen.h \ NSScroller.h \ NSScrollView.h \ NSScrubber.h \ NSScrubberItemView.h \ NSScrubberLayout.h \ NSSearchFieldCell.h \ NSSearchField.h \ NSSecureTextField.h \ NSSegmentedCell.h \ NSSegmentedControl.h \ NSSeguePerforming.h \ NSSelection.h \ NSShadow.h \ NSSharingService.h \ NSSharingServicePickerToolbarItem.h \ NSSharingServicePickerTouchBarItem.h \ NSSliderAccessory.h \ NSSliderCell.h \ NSSlider.h \ NSSliderTouchBarItem.h \ NSSound.h \ NSSpeechRecognizer.h \ NSSpeechSynthesizer.h \ NSSpellChecker.h \ NSSpellProtocol.h \ NSSpellServer.h \ NSSplitViewController.h \ NSSplitView.h \ NSSplitViewItem.h \ NSStackView.h \ NSStatusBarButton.h \ NSStatusBar.h \ NSStatusItem.h \ NSStepperCell.h \ NSStepper.h \ NSStepperTouchBarItem.h \ NSStoryboard.h \ NSStoryboardSegue.h \ NSStringDrawing.h \ NSSwitch.h \ NSTableColumn.h \ NSTableHeaderCell.h \ NSTableHeaderView.h \ NSTableView.h \ NSTabViewController.h \ NSTabView.h \ NSTabViewItem.h \ NSTextAlternatives.h \ NSTextAttachment.h \ NSTextCheckingClient.h \ NSTextCheckingController.h \ NSTextContainer.h \ NSTextFieldCell.h \ NSTextField.h \ NSTextFinder.h \ NSText.h \ NSTextInputClient.h \ NSTextInputContext.h \ NSTextList.h \ NSTextStorage.h \ NSTextTable.h \ NSTextView.h \ NSTitlebarAccessoryViewController.h \ NSTokenFieldCell.h \ NSTokenField.h \ NSToolbar.h \ NSToolbarItemGroup.h \ NSToolbarItem.h \ NSTouchBar.h \ NSTouchBarItem.h \ NSTouch.h \ NSTrackingArea.h \ NSTreeController.h \ NSTreeNode.h \ NSUserDefaultsController.h \ NSUserInterfaceCompression.h \ NSUserInterfaceItemIdentification.h \ NSUserInterfaceItemSearching.h \ NSUserInterfaceLayout.h \ NSUserInterfaceValidation.h \ NSViewController.h \ NSView.h \ NSVisualEffectView.h \ NSWindowController.h \ NSWindow.h \ NSWindowRestoration.h \ NSWorkspace.h \ PSOperators.h AUTOGSDOC_HEADERS_GUIADD = \ GSDisplayServer.h \ GSTheme.h \ GSTable.h \ GSHbox.h \ GSVbox.h DOCUMENT_NAME = Gui GuiAdditions Gui_DOC_INSTALL_DIR = Developer/Gui/Reference GuiAdditions_DOC_INSTALL_DIR = Developer/Gui/Reference Gui_AGSDOC_FILES = ../Documentation/Gui.gsdoc \ $(AUTOGSDOC_HEADERS_GUI) GuiAdditions_AGSDOC_FILES = $(AUTOGSDOC_HEADERS_GUIADD) \ ../Documentation/GuiAdditions.gsdoc # # Hack ... using the -DocumentationDirectory flag overrides the value # used by the make package, and puts our output in the documentation # directory. # Gui_AGSDOC_FLAGS = \ -MakeFrames YES \ -DocumentationDirectory ../Documentation/Gui \ -HeaderDirectory ../Headers/AppKit \ -Declared AppKit \ -Standards YES \ -ConstantsTemplate TypesAndConstants \ -FunctionsTemplate Functions \ -MacrosTemplate Functions \ -TypedefsTemplate TypesAndConstants \ -VariablesTemplate TypesAndConstants \ -WordMap '{\ APPKIT_EXPORT=extern;APPKIT_DECLARE="";\ DEFINE_RINT_IF_MISSING=""; \ }' -Up Gui GuiAdditions_AGSDOC_FLAGS = \ -MakeFrames YES \ -DocumentationDirectory ../Documentation/GuiAdditions \ -HeaderDirectory ../Headers/Additions/GNUstepGUI \ -Declared GNUstepGUI \ -Standards YES \ -ConstantsTemplate TypesAndConstants \ -FunctionsTemplate Functions \ -MacrosTemplate Functions \ -TypedefsTemplate TypesAndConstants \ -VariablesTemplate TypesAndConstants \ -WordMap '{\ APPKIT_EXPORT=extern;APPKIT_DECLARE="";\ DEFINE_RINT_IF_MISSING=""; \ }' -Up GuiAdditions include $(GNUSTEP_MAKEFILES)/documentation.make before-all:: ../Documentation/Gui \ ../Documentation/GuiAdditions cp ../Documentation/Gui.gsdoc . cp ../Documentation/GuiAdditions.gsdoc . ../Documentation/Gui: $(MKDIRS) ../Documentation/Gui ../Documentation/GuiAdditions: $(MKDIRS) ../Documentation/GuiAdditions # # Work around our screwy doc generation implementation, sigh... # before-clean:: if [ -e obj ]; then \ mv obj obj-save-link; \ fi # # Clean up temporary files used while generating documentation. # after-clean:: $(RM) Gui.gsdoc $(RM) GuiAdditions.gsdoc if [ -d Gui ]; then \ $(RM) Gui/stamp; \ $(RM) Gui/dependencies; \ rmdir Gui; \ $(RM) GuiAdditions/stamp; \ $(RM) GuiAdditions/dependencies; \ rmdir GuiAdditions; \ fi if [ -e obj-save-link ]; then \ mv obj-save-link obj; \ fi