[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Packaging php app/scripts



Fwd-ed to the list...

---------- Forwarded message ----------
From: Guido van Steen <vansteen@users.sourceforge.net>
Date: Tue, Sep 6, 2011 at 5:52 PM
Subject: Re: Fwd: Packaging php app/scripts
To: kuLa <debian@kulisz.net>


> Ok, I created simple Makefile (content below):
> prefix := /tmp
> DESTDIR:= $(prefix)/var/www
> SRCDIR := ./src
>
> install:
>        install -d $(DESTDIR)
>        cp -R $(SRCDIR)/* $(DESTDIR)/
>
> uninstall:
>        rm -rf $(DESTDIR)/*
>
You may decide to use autotools. This way you make sure everything in your files is more or less standard.

I remember trying to package a self-rolled makefile as well. I saw errors everywhere.

After I changed to autotools the packaging process went smoothly.

Best wishes,

Guido


Reply to: