PPTEMPLATE(1) User Contributed Perl Documentation PPTEMPLATE(1)NAME
pptemplate - script to generate Makefile.PL and PP file skeleton
SYNOPSIS
# generate Makefile.PL and mymodule.pd in CWD
pptemplate PDL::MyModule;
DESCRIPTION
The pptemplate script is the easiest way to start a new module for PDL that contains PP code (see also PDL::PP). The usage is simply
pptemplate modulename;
As a result pptemplate will generate a perl Makefile for the new module (Makefile.PL) that contains the minimal structure to generate a
module from PP code and also a skeleton file for your new module.
The file will be called mymod.pd if you called "pptemplate" as
pptemplate PDL::CleverAlgs::Mymod;
I suppose you can work out the naming rule ";)". If not resort to experimentation or the source code.
"pptemplate" will refuse to overwrite existing files of the same name to avoid accidents. Move them out of the way if you really want to
scrap them.
Options
Currently there is only the "-i" option which switches "pptemplate" into the so called internal mode. It should only be used when you are
starting a new module within the main PDL tree that is supposed to be part of the PDL distribution and the normal PDL build process, e.g.
cd PDL/IO;
mkdir Mpthree; cd Mpthree;
pptemplate -i PDL::IO::Mpthree;
BUGS
Maybe ";)". Feedback and bug reports are welcome.
COPYRIGHT
Copyright (c) 2001, Christian Soeller. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified
under the same terms as PDL itself (see http://pdl.perl.org).
perl v5.8.0 2003-01-29 PPTEMPLATE(1)
Check Out this Related Man Page
PPTEMPLATE(1) User Contributed Perl Documentation PPTEMPLATE(1)NAME
pptemplate - script to generate Makefile.PL and PP file skeleton
SYNOPSIS
# generate Makefile.PL and mymodule.pd in CWD
pptemplate PDL::MyModule;
DESCRIPTION
The pptemplate script is the easiest way to start a new module for PDL that contains PP code (see also PDL::PP). The usage is simply
pptemplate modulename;
As a result pptemplate will generate a perl Makefile for the new module (Makefile.PL) that contains the minimal structure to generate a
module from PP code and also a skeleton file for your new module.
The file will be called mymod.pd if you called "pptemplate" as
pptemplate PDL::CleverAlgs::Mymod;
I suppose you can work out the naming rule ";)". If not resort to experimentation or the source code.
"pptemplate" will refuse to overwrite existing files of the same name to avoid accidents. Move them out of the way if you really want to
scrap them.
Options
Currently there is only the "-i" option which switches "pptemplate" into the so called internal mode. It should only be used when you are
starting a new module within the main PDL tree that is supposed to be part of the PDL distribution and the normal PDL build process, e.g.
cd PDL/IO;
mkdir Mpthree; cd Mpthree;
pptemplate -i PDL::IO::Mpthree;
BUGS
Maybe ";)". Feedback and bug reports are welcome.
COPYRIGHT
Copyright (c) 2001, Christian Soeller. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified
under the same terms as PDL itself (see http://pdl.perl.org).
perl v5.8.0 2003-01-29 PPTEMPLATE(1)
I'm trying to do string replacement with a Makefile and this is my scenario:
Inside file "fileA", I have "#include<text>" statements and I want to replace it with the text inside a file called "params". I wish to perform this task using Makefiles. I've tried using m4 but that only works if... (1 Reply)
Ive been trying to write a simple Makefile to compile *.java files to *.class files that reside in different directories.
-- main_dir ----subdir1
-----subdir2
here's my Makefile. it wont run what should i do? thanks for all the help!
JAVAC = javac
JFLAGS =... (4 Replies)
Hi,
I have learned native compilation of basic c code example programs from the net.
The issue is, .c code file doesn't come with respective Makefile.
Visited some web sites with Makefile manuals but still can not master writing Makefile file to work.
The idea is to have intelligent shell... (5 Replies)
Hi
i have written a perl script which was then converted to perl module by me. it works as expected. but i have to put it on many servers so i want to build a package for it. i dont know how to do that. just to check i copied perl module in "lib" directory which is working. ( directly copied... (1 Reply)
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Hi,
The following is my Makefile, I wanted to add a staic library named libtimer.a. I'm using the following Makefile. Please let me know how to add this static library:
Makefile:-
It produces "usbserial" executable.
Thanks,
S (1 Reply)
Hello guys,
I could use advise from more experienced guys about my Makefile. In short, the problem with my Makefile is that $< doesnt change
inside my rule.
Here is my Makefile:
# Makefile for CORE
CC = gcc.exe
AS = as.exe
AR = ar.exe
INCLUDE = \
-I../lib/tomcrypt/inc \... (1 Reply)
I am writing a Makefile for Cobol on Linux.My sample Makefile looks like below.
I do not want to Hardcode Program names in Makefile.Is there any way we can mention directories in Target and Prerequisites instead of File names sothat Makefile Pickup all the files in mentioned path as below.... (8 Replies)
I am a new perl learner and I need some help with a little project that I am doing.. So it is like writing perl script to insert a Javadoc documentation skeleton into a Java source. like:
public class Card {
private int rank;
private char suit;
public boolean isHeld;
/*
... (3 Replies)
Hi
We have to create a perl script..for part of a project
I ceated a script that called another perl module
use AppUtil::VMUtil;
But have been told that we need to incorpurate that module into my script...(with comments)
Would you know how to copy or place a module from one script... (2 Replies)
Hi All,
I have a question. I need to add 3 matrices of size 2000 x 2000. (i.e) 2000 rows and 2000 columns using Perl::PDL module. I used the following perl script
#!/usr/bin/perl -w
use strict;
use warnings;
use PDL;
use PDL::Matrix;
if ( @ARGV != 3 ) {
die 'Two matrix files are... (1 Reply)