# File lib/autobuild/packages/genom.rb, line 65
        def regen
            cmdline = [ 'genom', "#{name}.gen", *genomflags ]

            file buildstamp => genomstamp
            file genomstamp => "#{srcdir}/#{name}.gen" do
                Dir.chdir(srcdir) {
                    Subprocess.run(name, 'genom', *cmdline)
                }
            end
            if Package['genom']
                file genomstamp => Package['genom'].installstamp
            end

            acuser = "#{srcdir}/configure.ac.user"
            file "#{srcdir}/configure" => acuser do
                # configure does not depend on the .gen file
                # since the generation takes care of rebuilding configure
                # if .gen has changed
                Dir.chdir(srcdir) { Subprocess.run(name, 'genom', File.expand_path('autogen')) }
            end
        end