dcf2adp 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/sh
  2. # DCF2ADP - converter for a QT Assistant 3.1 DCF file into a QT Assistant 3.2
  3. # ADP file
  4. #
  5. # Copyright (C) 2003-2006 Kevin Kofler
  6. #
  7. # This program is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation; either version 2, or (at your option)
  10. # any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with this program; if not, write to the Free Software Foundation,
  19. # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20. echo \<assistantconfig version=\"3.2.0\"\> >qt-assistant.adp
  21. echo \<profile\> >>qt-assistant.adp
  22. echo \<property name=\"name\"\>TIGCCDoc\</property\> >>qt-assistant.adp
  23. echo \<property name=\"title\"\>TIGCC Documentation\</property\> >>qt-assistant.adp
  24. #echo \<property name=\"applicationicon\"\>logo.png\</property\> >>qt-assistant.adp
  25. echo \<property name=\"startpage\"\>index.html\</property\> >>qt-assistant.adp
  26. #echo \<property name=\"aboutmenutext\"\>About Help\</property\> >>qt-assistant.adp
  27. #echo \<property name=\"abouturl\"\>../about.txt\</property\> >>qt-assistant.adp
  28. #echo \<property name=\"assistantdocs\"\>../../../doc/html\</property\> >>qt-assistant.adp
  29. echo \</profile\> >>qt-assistant.adp
  30. tail -n +2 qt-assistant.dcf >>qt-assistant.adp
  31. echo \</assistantconfig\> >>qt-assistant.adp