diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-01 09:40:27 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-05 23:34:13 +0000 |
commit | e9b947a6665170f96ba4182d81a630da74ea96a2 (patch) | |
tree | d433e4bb2acfed635b22bfb4ad6cc41c1658bcf4 /scp2 | |
parent | bba6e9ebeb67235ee77e723af354474d5a3e9b85 (diff) |
allow to put files listed in file into installation
With this in place, we can replace most of our Zips by Packages.
Extensions and Dictionaries are on the radar as well.
To move an installed file from zip to filelist, do:
1. Convert the Zip_foo.mk to Package_foo.mk :
- change destination paths of all files to the same ones they have in
the installation (you can find that in scp2)
- use gb_Package_set_outdir to place the files under $INSTDIR, where
they are expected.
2. Change the scp2 record:
- change filename to <package-name>.filelist
- replace ARCHIVE by FILELIST in Styles
- change Dir to FILELIST_DIR.
Change-Id: Ie17d0765406081b03dcd44a6a23cf517f2067dd3
Reviewed-on: https://gerrit.libreoffice.org/3149
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'scp2')
-rwxr-xr-x | scp2/inc/macros.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc index 1b537aabaf38..dd4432c3966c 100755 --- a/scp2/inc/macros.inc +++ b/scp2/inc/macros.inc @@ -425,6 +425,12 @@ End #define SCP2_URE_JDL_NORMAL(n) SCP2_URE_DL_NORMAL(n) #endif +#if defined MACOSX +#define FILELIST_DIR gid_Dir_Bundle_Contents +#else +#define FILELIST_DIR gid_Dir_Brand_Root +#endif + #include <langmacros.inc> |