* W: rt4-extension-repeatticket: binary-without-manpage usr/bin/rt-repeat-ticket
 run pod2man

* make initdb, cronjob: not in readme but in postinst

* FIXME See
    rt-extension-assettracker/debian/rt4-extension-assettracker.README.debian

* previous attempts made build fail.  reconsider using upstream 'make install'?

    dh_auto_configure
        perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2
        -fdebug-prefix-map=/home/joostvb/git/rt/build-area/rt-extension-repeatticket-1.10=.
        -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2"
        "LD=x86_64-linux-gnu-gcc -g -O2
        -fdebug-prefix-map=/home/joostvb/git/rt/build-area/rt-extension-repeatticket-1.10=. 
        -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
      Cannot determine perl version info from lib/RT/Extension/RepeatTicket.pm
      Use of uninitialized value $prefix in concatenation (.) or string at
       /usr/share/perl5/Module/Install/RTx.pm line 52.
      Use of uninitialized value $prefix in concatenation (.) or string at
       /usr/share/perl5/Module/Install/RTx.pm line 58.
      Unknown function is found at Makefile.PL line 24.
      Execution of Makefile.PL aborted due to runtime errors.

   joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% perl Makefile.PL

   (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% perl Makefile.PL

   Cannot determine perl version info from lib/RT/Extension/RepeatTicket.pm
   Using RT configuration from /usr/share/request-tracker4/lib/RT.pm:

   bin        => /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/bin
   etc        => /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/etc
   html       => /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/html
   lib        => /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/lib
   po         => /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/po
   static     => /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/static
   For first-time installation, type 'make initdb'.
   Open input '/var/tmp/rt-extension-repeatticket-1.10/bin/rt-repeat-ticket.in' file for substitution
   Open output '/var/tmp/rt-extension-repeatticket-1.10/bin/rt-repeat-ticket' file for substitution
   Open input '/var/tmp/rt-extension-repeatticket-1.10/lib/RT/Extension/RepeatTicket/Test.pm.in' file for substitution
   Open output '/var/tmp/rt-extension-repeatticket-1.10/lib/RT/Extension/RepeatTicket/Test.pm' file for substitution
   *** Module::AutoInstall version 1.16
   *** Checking for Perl dependencies...

   [Core Features]
   - DateTime::Event::ICal ...loaded. (0.13)
   *** Module::AutoInstall configuration finished.
   Checking if your kit is complete...
   Looks good
   Generating a Unix-style Makefile
   Writing Makefile for RT::Extension::RepeatTicket
   Writing MYMETA.yml and MYMETA.json

 (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket0.10% perl -I. Makefile.PL INSTALLDIRS=vendor

   same, basically

   (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% rm -rf inc·
   (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% perl -I. Makefile.PL INSTALLDIRS=vendor

   ....

   include inc/YAML/Tiny.pm
   For first-time installation, type 'make initdb'.
   Unknown function is found at Makefile.PL line 24.
   Execution of Makefile.PL aborted due to runtime errors.


   upstream bug in inc/ ?

   (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% perl -I. Makefile.PL INSTALLDIRS=vendor·
   (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% make·
   (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% make install DESTDIR=/var/tmp/rt-install·
   Manifying 1 pod document
   Installing /var/tmp/rt-install/usr/share/perl5/RT/Extension/RepeatTicket.pm
   Installing /var/tmp/rt-install/usr/share/perl5/RT/Extension/RepeatTicket/Test.pm.in
   Installing /var/tmp/rt-install/usr/share/perl5/RT/Extension/RepeatTicket/Test.pm
   Installing /var/tmp/rt-install/usr/share/man/man3/RT::Extension::RepeatTicket.3pm
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   ERROR: Can't create '/usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/bin'
   mkdir /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket: Permission denied at /usr/share/perl/5.22/E
xtUtils/Install.pm line 477.

   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.


 at -e line 1.
   Makefile:807: recipe for target 'install' failed
   make: *** [install] Error 13

  (sid)joostvb@nusku:/var/tmp% dpkg-source -x rt-extension-repeatticket_1.10-3.dsc·
  (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10/debian% mv patches ../../rt-extension-repeatticket-1.10,deb/·
  (sid)joostvb@nusku:/var/tmp% cp -a rt-extension-repeatticket-1.10 rt-extension-repeatticket-1.10,no-patch
  (sid)joostvb@nusku:/var/tmp/rt-extension-repeatticket-1.10% debuild -uc -us

  Installing /var/tmp/rt-extension-repeatticket-1.10/debian/rt4-extension-repeatticket/usr/share/man/man3/RT::Extension::R
epeatTicket.3pm
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  ERROR: Can't create '/usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket/bin'
  mkdir /usr/local/share/request-tracker4/plugins/RT-Extension-RepeatTicket: Permission denied at /usr/share/perl/5.22/Ext
Utils/Install.pm line 477.
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   at -e line 1.
  Makefile:810: recipe for target 'install' failed


* More stuff:

    - do install·
       etc/initialdata
       bin/rt-repeat-ticket.in
       html/Callbacks/RepeatTicket ...
       html/Ticket/ ....
       static/css/repeat-ticket.css
       po/repeatticket.pot
    ?

    <mhorden> die zaken in bin/ html/ etc. moeten wel mee
    <mhorden> en de rt-repeat-ticket.in is het resultaat uit de make die
     uiteindelijk als executable in cron moet lopen

    - check if we actually do run tests
    - do not install RT/Extension/RepeatTicket/Test.pm.in

    нед 21 14:13 <joostvb_> kun je anders ff in packages/log.txt schrijven welke
                            files dan waar geinstalleed worden?
    нед 21 14:13 <mhorden> ja
    нед 21 14:12 <mhorden> wat ik nl. ook niet "snap" is hoe je tijdens de
                           installatie nog een database initialisatie kan aftrappen
    нед 21 14:14 <mhorden> er moet dus nog aan het eind van de installatie een
                           instructie aan de gebruiker om "make initdb" uit te
                           voeren...
    нед 21 14:14 <mhorden> zie ook:
    http://cpansearch.perl.org/src/SUNNAVY/RT-Extension-RepeatTicket-1.10/README
